Tagged: countdown, Event calendar
-
AuthorPosts
-
February 2, 2021 at 2:15 pm #1277152
Hello, the countdown element of the events calendar is not working for us, I have tried to adjust the days setting to 3 or 4 but it is not changing.
Website URL is in the private section.
Thanks for your help :-)February 6, 2021 at 7:22 pm #1278335Hey shanhard,
Sorry for the very late reply and thanks for the login, I exported your event to my localhost and installed The Events Calendar plugin and the Events Countdown element worked correctly. I checked that we are using the same WP & Enfold versions and performance settings. The only difference that I see is your layerslider is disabled but I don’t seeadd_theme_support('deactivate_layerslider');
in your child theme functions.php, how did you disable the layerslider?
I testedadd_theme_support('deactivate_layerslider');
on my localhost to ensure that it didn’t break the Events Countdown element.
Do you have object caching enabled on your server? Please try to disable it for testing.
I’m not sure why it would not be working for you, I don’t see any errors. Typically I would suggest disabling your plugins but I don’t see you have very many, and I’m sure you tried this. Are there any scripts I might have missed on your site?Best regards,
MikeFebruary 7, 2021 at 2:23 am #1278400Hi Mike,
Thanks for the reply… answers to your questions below:Layer slider? I disabled the layer slider in the theme options: Layout Builder > Integrated (Bundled) Layer Slider Plugin.
Caching? No we aren’t using object caching on the server (that I know of). We are using WP Optimize caching plugin.
Scripts? No there are no scripts. It’s an enfold theme with the church demo content.
February 7, 2021 at 7:27 pm #1278464Hi,
Thanks for your feedback, I see you are using a child theme, have you tried activating the parent theme to see if the Events Countdown element works correctly?Best regards,
MikeFebruary 7, 2021 at 8:41 pm #1278470Hi Mike,
Yes I tried that too, still doesn’t work :-(February 7, 2021 at 9:16 pm #1278473Hi,
Strange, as you can see it works on a new install above, can I try disabling WP-Optimize and your child theme?
Please also check your web hosting server for object caching like Memcached, if it is active you should be able to turn it off.Best regards,
MikeFebruary 8, 2021 at 12:39 pm #1278628Hi Mike, please go ahead and do whatever you need to do to get this working.
There is definitely no object caching on the server, I checked with the host today.February 11, 2021 at 11:27 am #1279710Hi,
Thank you, unfortunately, I was not able to figure out why the countdown is not showing. I have asked the rest of the team for suggestions to what could be causing this.
Thank you for your patience.Best regards,
MikeFebruary 11, 2021 at 11:29 am #1279711Thanks Mike,
Should I try re-uploading all the theme files via FTP? That is one thing I haven’t tried yet.February 11, 2021 at 1:24 pm #1279745Hi,
Good idea, the dev team also suggests this. Please note, don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.
The easiest and safest way to do this is to download the newest version from Theme Forest and rename your current parent theme folder to “enfold-old” via ftp then upload the new “enfold” folder via ftp and check that your site is working correctly.
Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page).The idea is WordPress is looking for the installed theme “enfold” and changing the folder to “enfold-anything” via ftp, makes WordPress look for a new “enfold” folder, which you are uploading via ftp.
Best regards,
MikeFebruary 11, 2021 at 1:46 pm #1279751Hi Mike,
I just did that and the issue still persists :-(February 13, 2021 at 11:34 pm #1280338Hi,
Thanks for trying, I will ask for other ideas, but I feel that it is somehow related to your server, but I don’t know how.
I base this on testing on two live servers and my localhost, and these worked correctly, yet I don’t see any difference between these and yours.Best regards,
MikeFebruary 14, 2021 at 10:20 am #1280387Hi Mike,
It’s definitely not the server, please see the test installation I have done in a sub folder below in the private data. The countdown works.February 14, 2021 at 12:46 pm #1280402Hi,
Well, that is good news, so on the same server, on a different install, the latest Enfold and The Events Calendar plugin work correctly, so I take it that the only difference is the plugins, which is odd because we disabled the plugins on your non-working site, and that seems to be the only difference between the two, correct?Best regards,
MikeFebruary 14, 2021 at 12:49 pm #1280404Yes, that’s correct.
The live site was upgraded from an old theme, the testing site is a clean wordpress install. Could there be something hanging over from the old theme in the database causing issues?February 14, 2021 at 2:20 pm #1280416Hi,
Perhaps, I also note that your test site doesn’t seem to have your child theme. Try exporting to your test site at WordPress > Tools > Export > All content and add your child theme to see if that still works.
When you installed WordPress originally for your live site, is there a chance that the install was for a special version of WordPress, such as an “optimized” or a special branded “version”? I ask because some webhosts will offer these “special” versions.
Is there a chance that the version of WordPress that you installed on the test site was the “official” version? Perhaps reinstalling WordPress on your live site would help?
I would recommend trying to export first because if that fails on the test site then it would point to something in the database.Best regards,
MikeFebruary 14, 2021 at 4:15 pm #1280421The test site *is* running on the Enfold child theme.
No there was no special install of wordpress. I installed it originally from cPanel, and it was the official/original version.
I will try exporting all the content to the test site and see if it works there.
Thanks again Mike, for you patience and persistence. Sometimes I encounter a stubborn issue like this that really takes it out of me – thanks for sticking by.
February 14, 2021 at 4:40 pm #1280424Interestingly, when I imported all content, the countdown ceases to function!
February 14, 2021 at 11:44 pm #1280443Hi,
Thank you, I’m happy to help :)
Cool, content breaks the countdown, so I exported your content to my localhost and on your homepage on my localhost the count down didn’t work, so I started making changes and it would solve the count down, then I would do the same thing on your site and it would not work?
So some of the rabbit holes were:
disabling the equal height on the columns
removing the countdown, saving and going to the frontend, and then adding it again
removing all of the other elements, the footer, etc.
I also tried to figure out why a single count down element on a test page by itself still works on my localhost, even after the content import, but not on your site… no luck though.
(I put it all back the way it was)
I will try some more tests and let you know.Best regards,
MikeFebruary 25, 2021 at 11:07 am #1283623OK so now the countdown works, I did nothing to make it work I just noticed it was working today. Did you change something?
Next question: How can I get the featured image on event detail pages to show the full image, instead of a cropped portion of it?
Example here: https://trailandenduro.com.au/event/te-mcc-kickstart-night-season-launch/
I had to add the event flyer in the event description as the featured image at the top was not showing it all.February 25, 2021 at 2:46 pm #1283676Hi,
Wow, how about that? No, I didn’t do anything 😃
Thanks for the link, so the featured image on event detail page looks like it is using the “gallery” sized image (845px)
You could try editing the parent theme functions.php around line 187:
to this:
$avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 , 'crop' => false);
you would then need to regen your media thumbnails so the old images at this size are not cropped, all new images uploaded will follow this rule.
Or I believe you can choose which size image to use, within the element, if so try choosing the “masonry” sized image (705px), as you can see in the screenshot above, the masonry image is not cropped.Best regards,
MikeFebruary 25, 2021 at 2:58 pm #1283685Hi Mike, thanks. What do you mean by ‘within the element’?
February 25, 2021 at 3:19 pm #1283690I have edited the parent theme functions file. Is there anyway I can do this with the child theme, so that when I update the theme it doesn’t overwrite my changes?
February 26, 2021 at 1:52 pm #1283840Hi,
Thanks for the feedback, after editing the parent theme and regenerating your thumbnails, (for the old images), or by uploading a new image, did this work? I checked the test page but it seems like the image is not there, so I’m not sure.
If this worked then it could be added to your child theme with a fliter like this:add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 ); function enfold_customization_modify_thumb_size( $size ) { $size['gallery'] = array('width'=>845, 'height'=>684 , 'crop' => false); return $size; }
Best regards,
MikeFebruary 26, 2021 at 2:09 pm #1283844This reply has been marked as private.February 27, 2021 at 9:52 pm #1284172Hi,
Glad to hear this helped, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeMarch 1, 2021 at 10:29 am #1284352Hi Mike, go ahead and close it. Thanks again.
March 1, 2021 at 2:26 pm #1284424Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Events Calendar Countdown Not Working’ is closed to new replies.