Venue and Organizer templates in Event Calendar Pro

Home Forums Welcome! Pre-Sales Questions Venue and Organizer templates in Event Calendar Pro

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1019251
    Annette
    Participant

    HI, I would like to know if the single-organizer and venue templates include “Previous / Next Events” navigation at the bottom of the page – it isn’t possible to see this in the demo.

    Thanks

    #1019450
    George
    Participant

    Hey @Annette,

    Good question! There is no such navigation on single-organizer or single-venue templates at this time 🙁 doing so with custom code would also actually be quite challenging, so I wouldn’t even recommend doing that either.

    I’m sorry to disappoint! Let me know what you think about all of this and/or if you have any other questions, comments, concerns, etc.

    Cheers,
    George

    #1020484
    Annette
    Guest

    This is not good news 🙁 We have a lot of organisers and venues offering over 50 events. What number of events can be listed on the organizer and venue pages and how is this controlled?

    #1021036
    George
    Participant

    Hey Annette,

    I’m sorry to disappoint! I’m also sorry for the delayed reply over the weekend.

    By default, 100 events are queried for both single-venue pages and single-organizer pages.

    These “limits” are dictated by the functions tribe_venue_upcoming_events() and tribe_organizer_upcoming_events(), respectively.

    To modify these limits, you’d need to add code like the following to your theme’s functions.php file:


    if ( function_exists( 'tribe_get_events' ) ) {
    /**
    * Modify how many events are "allowed" on single-venue and single-organizer pages.
    * @link http://theeventscalendar.com/?p=1019251
    */
    function tribe_support_1019251( $limit ) {
    return 500;
    }

    add_filter( 'tribe_events_single_venue_posts_per_page', 'tribe_support_1019251' );
    add_filter( 'tribe_events_single_organizer_posts_per_page', 'tribe_support_1019251' );
    }

    This code increases the limit to 500 – change this to any integer you’d like and it should work well.

    Let me know if this helps!

    Thanks,
    George

    #1075336
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Venue and Organizer templates in Event Calendar Pro’ is closed to new replies.