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

    Hi there,
    I use teh latest versions of:
    enfold
    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

    enfold\config-templatebuilder\avia-shortcodes\events_countdown\events_countdown.php
    with:
    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_6/events_upcoming/events_upcoming.php 

    … as described in this thread:
    https://kriesi.at/support/topic/past-events-are-shown-since-the-events-calendar-update/#post-1095191
    .. 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

    #1113580

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

    #1113919

    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?

    #1114789

    Hi,

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

    #1114813

    … 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.
    #1115481

    Hi,

    Thank you for the update.

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

    Best regards,
    Ismael

    #1115485

    This information will be added to in the options of each event. Please see here:
    http://kundenbereich.postkomm.de/screenshots/eventplace.png

    #1115817

    Hi,

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

    #1115826

    … 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:
    https://theeventscalendar.com/support/forums/topic/remove-link-to-the-event-location/

    #1115976

    Hi,

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

    #1116003

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

    #1116202

    Hi,

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

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