Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1247328

    We wanted to activate year and month in the animated countdown http://show-demo.com/wptest/vinay-test/ and we did exactly what was suggested in the article here https://kriesi.at/documentation/enfold/animated-countdown/. however, the year and month data is not coming up. is there any wrong we are doing? can you assist please?

    #1247365

    Hey vinayb,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1247373

    here is the information you asked…

    #1247720

    Hi,

    Thank you for the update.

    Please try to copy the whole countdown directory, not just the PHP file, in the child theme folder in order to properly override the parent builder element. Let us know how it goes.

    Best regards,
    Ismael

    #1247787

    I have tried that as well by copying the other 2 files of countdown folder but that did not work.

    I copied the following code to the function file and copied all 3 files under COUNTDOWN folder to the newly created SHORTCODES folder in child theme.
    add_filter(‘avia_load_shortcodes’, ‘avia_include_shortcode_template’, 15, 1);
    function avia_include_shortcode_template($paths)
    {
    $template_url = get_stylesheet_directory();
    array_unshift($paths, $template_url.’/shortcodes/’);

    return $paths;
    }

    By the way, i opened the JS file under countdown folder and i dont see the reference to the MONTH and YEAR mathemetics in there. is that the reason? Please let me know

    #1248347

    can i hear back soon on this?

    #1248420

    Hi,

    Thank you for the update.

    Yes, you are right. Looks like the current script only includes weeks, hours, seconds etc because they are constant, and it would be odd to include the remaining months and years if the countdown already shows the remaining weeks. The week block should be set to 0 or be removed if the month and year blocks are enabled.

    We will forward the thread to our channel for further consideration.

    Best regards,
    Ismael

    #1248434

    Yes i already tried removing the weeks from the array after activating Year and month. see http://show-demo.com/wptest/vinay-test/

    But year and month calculation is nut not working.

    #1248454

    Hi,

    The month and year block will not going to display even when the week block is disabled because they are not yet included in the script. Unfortunately, altering the script may take some time, so we will not be able to provide a temporary fix this time. We have already reported the issue or request to our channel so that our developers could look into it and hopefully add the additional countdown info in the next patch.

    Thank you for your patience.

    Best regards,
    Ismael

    #1248922

    Yeah. otherwise there is no point of having Year and Month if they are not functional.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.