Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
  • #1113249

    Hi there,
    I use teh latest versions of:
    The Events Calendar
    The Events Calendar pro
    … also upcoming events will not displayed if I use Avia Layout Element “upcoming events”. I change code at


    … as described in this thread:
    .. but nothing changed at all. Upcoming events still not displayed. Can you please have a closer look on my wordpress? You will find login information in private content


    Hey frankeee,

    Thank you for using Enfold.

    We created a dummy event and a test page with the upcoming events element. The latest event is displaying properly. (see private field)

    Best regards,


    Hey Ismael,
    thanks for checking this. Now I know that it works without categories (your dummy event is working because NO category is selected) . However, I want to use categories for displaying events. The problem: When a category is selected, no event will be displayed (even if there are events within the selected category).

    Can you please check it with selected categories?



    Thank you for the update.

    It seems to work fine with or without a category selected. We set the test event to be on the category “Exkursionsreihe”, then selected that same category in the Upcoming Events element and it works as expected. Please note that the element will only display future or upcoming events. It’s not going to display past events or events that have already started.

    Best regards,


    … thanks a lot for your help! You are right – already started (but ongoing) events will not displayed – my fault.

    But I have another strange thing with “Upcoming Events” Element: The venues will displayed before the events list. You will find the link with demo data in private content.

    • This reply was modified 5 years ago by frankeee.


    Thank you for the update.

    How did you add that information? It’s not included in the upcoming events template by default.

    Best regards,


    This information will be added to in the options of each event. Please see here:



    Yes, but it’s not included in element template by default, so it shouldn’t be displaying there. Did you modify the shortcode templates, or add any hooks?

    Best regards,


    … yes, that seems to cause the mistake:

    add_filter( 'tribe_get_venue', 'tribe_support_1009017' );
    function tribe_support_1009017( $venue ) {
    	echo wp_strip_all_tags( $venue );

    I use it I use it to remove the event link in event details page – as described here:



    If you like to remove the link you can also try using the CSS instead of a filter. Please inspect the element and replace the .disable-click in the below code :)

    .disable-click {
      pointer-events: none;
      cursor: default;

    Best regards,


    … ok it does not remove the link itself, but think that’s enough – thanks for the css snippet! You can close this thread.



    Thanks for the update, I’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘The Events Calendar – upcoming events will not displayed’ is closed to new replies.