Viewing 28 posts - 1 through 28 (of 28 total)
  • Author
    Posts
  • #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 :-)

    #1278335

    Hey 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 see add_theme_support('deactivate_layerslider'); in your child theme functions.php, how did you disable the layerslider?
    I tested add_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,
    Mike

    #1278400

    Hi 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.

    #1278464

    Hi,
    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,
    Mike

    #1278470

    Hi Mike,
    Yes I tried that too, still doesn’t work :-(

    #1278473

    Hi,
    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,
    Mike

    #1278628

    Hi 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.

    #1279710

    Hi,
    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,
    Mike

    #1279711

    Thanks Mike,
    Should I try re-uploading all the theme files via FTP? That is one thing I haven’t tried yet.

    #1279745

    Hi,
    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,
    Mike

    #1279751

    Hi Mike,
    I just did that and the issue still persists :-(

    #1280338

    Hi,
    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,
    Mike

    #1280387

    Hi 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.

    #1280402

    Hi,
    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,
    Mike

    #1280404

    Yes, 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?

    #1280416

    Hi,
    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,
    Mike

    #1280421

    The 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.

    #1280424

    Interestingly, when I imported all content, the countdown ceases to function!

    #1280443

    Hi,
    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,
    Mike

    #1283623

    OK 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.

    #1283676

    Hi,
    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:
    2021-02-25_073213.jpg
    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,
    Mike

    #1283685

    Hi Mike, thanks. What do you mean by ‘within the element’?

    #1283690

    I 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?

    #1283840

    Hi,
    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,
    Mike

    #1283844
    This reply has been marked as private.
    #1284172

    Hi,
    Glad to hear this helped, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    #1284352

    Hi Mike, go ahead and close it. Thanks again.

    #1284424

    Hi,
    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

Viewing 28 posts - 1 through 28 (of 28 total)
  • The topic ‘Events Calendar Countdown Not Working’ is closed to new replies.