• Resolved anafp

    (@anabellafp)


    I use the ‘Elementor posts’ widget to display events. Before The Events Calendar updated to version 6.0, the Elementor Posts widget used to display ONLY upcoming events, which is exactly what I want. When The Events Calendar updated to version 6.0, the Posts widget started to display ALL events (past and upcoming).

    Any fix/solution? I need to display the upcoming events only

    • This topic was modified 1 year, 11 months ago by anafp.
Viewing 15 replies - 1 through 15 (of 17 total)
  • Same problem… For months and there is no solution…

    Plugin Support Abz

    (@abzlevelup)

    Hi @anabellafp and @zauberfloete,

    Sorry to hear about this. We were able to confirm and replicate that this is a bug in our plugin. I already created an internal bug ticket for this and added your case. I already shared it with our team and devs, I appreciate for sharing the details here.

    I am unable to provide an exact date or time estimate for when this bug will be fixed, but you’ll be notified when there are any updates. I’d leave this thread open as well.

    Again, thank you for your patience. Hang in there.

    Best,
    Abz


    Internal Bug Ticket Reference:
    BTRIA-1741

    Thread Starter anafp

    (@anabellafp)

    Hi @abzlevelup , any updates?

    Plugin Support Darian

    (@d0153)

    Hi @anabellafp

    I just checked the status of BTRIA-1741, and it is still in progress. As soon as we release a fix for this issue, we will post an update here in the thread.

    Appreciate your patience so far. If you do have other concerns or issues you need help with, please create another support topic as indicated in the www.ads-software.com support guidelines.

    Plugin Support Darian

    (@d0153)

    Hi @anabellafp @zauberfloete

    Thanks for patiently waiting.

    We just released a new version of our plugin that, we believe, should resolve the issue you reported.

    To apply the fix, please update The Events Calendar in your websites.

    Let me know how it goes.

    Thread Starter anafp

    (@anabellafp)

    @d0153 the issue is NOT fixed. All the plugins are up-to-date and the issue persists.

    Please fix asap

    Plugin Support Darian

    (@d0153)

    Hi @anabellafp

    I just tested it again using the latest version of our plugins and it’s working as expected.

    See- https://share.getcloudapp.com/OAul0Wll

    Could you try activating the following, and check if that makes a difference?

    • Elementor and Elementor PRO
    • The Events Calendar
    • a basic theme like 2020 theme
    Thread Starter anafp

    (@anabellafp)

    Even in your video the plugin is NOT working as expected.

    Your plugin is supposed to display ONLY upcoming events (IT’S NOT SUPPOSED TO DISPLAY PAST EVENTS).

    In your video, towards the end, you visit the page that displays all the events and you open each event on a new tab. Right there you can see that some of the events say “This event has passed”, which means that your website is in fact including past events

    Plugin Support Darian

    (@d0153)

    Hi @anabellafp

    I apologize for the confusion. The video I recorded is the correct and expected behavior.

    Please note that you’re using Elementor’s Post widget, which is designed to work with regular WP Posts. If you update the post type to Events, then the expected behavior is the same (show all events), and the only difference is that it only shows Events instead of regular posts.

    If you want to “customize” the behavior of the Post widget, and show only upcoming events, you can try adding this custom snippet:

    add_filter( 'elementor/query/query_args', function($query_args){
    	$query_args['tribe_suppress_query_filters'] = false;
    
    	return $query_args;
    }, 999, 1 );

    You can use Custom Snippets plugin to add your snippets.

    As always, please test this on your staging site before applying it to your live site.

    Moreover, we do have native elementor widget’s specifically for this purpose. However, this is only available in The Events Calendar PRO plugin.

    Let me know how if you have further questions or concerns.

    Thread Starter anafp

    (@anabellafp)

    @d0153 This was NOT the behaviour before version 6.0 of The Events Calendar.

    During 4 years, I used Elementor Post widget to display the events on my website, and it always showed ONLY the upcoming events. Now, after updating your plugin to version 6.0, it’s showing all events (past and upcoming).

    I will try the snippet that you shared. Is there a way of sorting the events by START DATE (maybe through adding something to the code snippet you shared?)

    thanks

    Thread Starter anafp

    (@anabellafp)

    The code above didn’t work. It’s still showing past events

    Plugin Support Darian

    (@d0153)

    Hi @anabellafp

    I just tested the snippet again and it’s working as expected. If you’re using the Code Snippets plugin for your snippets, please ensure that you have activated the snippets you’ve created.

    See- https://share.getcloudapp.com/NQupOKol

    If that doesn’t help, could you provide the version of the following? This will help me understand how your system is currently set up.

    • PHP
    • WordPress
    • The Events Calendar
    • Elementor
    • Theme
    Thread Starter anafp

    (@anabellafp)

    I see!
    It’s not working on the back end (when I am editing the page in Elementor), but it works fine on the front end, so that’s good. Thanks!

    Would it be possible to edit that code snippet so that the events are sorted by start date?

    Plugin Support Darian

    (@d0153)

    Hi @anabellafp

    Thanks for confirmation and I’m glad it’s now working.

    As for sorting it by start date, it may be possible with some custom coding, but if you decide to give that a try, please note we cannot provide full support for custom implementations like that.

    Moreover, just to note, we do have?native elementor widget that already has the features that you’re looking for. However, this is only available in The Events Calendar PRO plugin.

    Let me know how if you have further questions or concerns.

    Thread Starter anafp

    (@anabellafp)

    @d0153 Thanks. What’s the name of the native Elementor widget you are referring to? While using The Events Calendar Pro, I tried “Events List” and “Events view” but none of them give me any control over the design. Those widgets do not work as the Elementor Posts widget does.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Elementor posts widget > Show ONLY upcoming events’ is closed to new replies.