-
AuthorPosts
-
September 21, 2020 at 1:15 pm #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?
September 21, 2020 at 2:37 pm #1247365Hey 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,
VictoriaSeptember 21, 2020 at 3:02 pm #1247373here is the information you asked…
September 23, 2020 at 2:52 am #1247720Hi,
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,
IsmaelSeptember 23, 2020 at 8:21 am #1247787I 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
September 25, 2020 at 9:14 am #1248347can i hear back soon on this?
September 25, 2020 at 12:44 pm #1248420Hi,
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,
IsmaelSeptember 25, 2020 at 1:05 pm #1248434Yes 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.
September 25, 2020 at 2:52 pm #1248454Hi,
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,
IsmaelSeptember 28, 2020 at 7:19 am #1248922Yeah. otherwise there is no point of having Year and Month if they are not functional.
-
AuthorPosts
- You must be logged in to reply to this topic.