Help Desk

Organizer and Venues

  • Posts: 8 Topics: 12
    | Permalink

    Hi

    is there a maximum number of organisers and /or venues I can see in the Filter Pro?

    I can only see Organisers alphabetically up to the letter D and there is similar restrictions on venues,
    Thanks in advance

    Posts: 4905
    | Permalink

    Hi Richard,

    Yes, the limit is set to 200 by default. You can change this however by adding the following snippet to your functions.php file:

    /* Tribe, set new limit to 300 organizers in filterbar */
    function tribe_fb_change_organizer_limit ( $limit, $organizer_ids ) {
       return 300;
    }
    add_filter( 'tribe_events_filter_bar_organizers_limit', 'tribe_fb_change_organizer_limit', 10, 2 );
    
    /* Tribe, set new limit to 500 venues in filterbar */
    function tribe_fb_change_venue_limit ( $limit, $venue_ids ) {
       return 300;
    }
    add_filter( 'tribe_eventsfilter_bar_venues_limit', 'tribe_fb_change_venue_limit', 10, 2 );
    

    You can change the 300 to any number you need. Keep in mind that raising this limit may slow down the loading time. Let me know how that works for you!

    Thanks,

    Jennifer

    Posts: 8 Topics: 12
    | Permalink

    thanks

    Posts: 4905
    | Permalink

    No problem!

    Since this has been marked “resolved”, I’ll go ahead and close it out. If you run into any other issues, please feel free to open up a new thread!

The topic ‘Organizer and Venues’ is closed to new replies.