Organizer and Venues

Home Forums Calendar Products Filter Bar Organizer and Venues

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1454555
    Richard
    Participant

    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

    #1456065
    Jennifer
    Keymaster

    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

    #1471832
    Richard
    Participant

    thanks

    #1472111
    Jennifer
    Keymaster

    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!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Organizer and Venues’ is closed to new replies.