Filter Bar: Modify Quantity of Venues Displayed

By default, Filter Bar will display 200 venues. You can override this setting.  Add the snippet below to either your child theme’s functions.php file or use the My Custom Functions plugin and adjust the limit to the number of venues that fit your needs.

Please check out our guides:

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

 

Notes:

  • Originally written in January 2017
  • Tested with Filter Bar 4.8.1
  • Author: Nico Santos

As with all of our recipes, please note that we share this in the hope it will be useful but without any guarantees or commitments. If you wish to use it, it is your responsibility to test it first of all and adapt it to your needs (or find someone who can do so on your behalf). We are unable to provide further support in relation to this recipe.