Filtering by many venues

  • Idea
  • Updated 5 years ago
To get gigpress to be able to filter by several venues (instead of one) using the shortcode, you have to change line 63 of gigpress_shows.php (located in output folder) to:

if($venue) $further_where .= ' AND show_venue_id IN (' . $wpdb->prepare('%s', $venue).')';

Then, you can use the shortcode like:

[gigpress_shows venue=1,2,3,4]
Photo of zetxek


  • 2 Posts
  • 0 Reply Likes
  • happy

Posted 6 years ago

  • 3
Photo of mukki182


  • 1 Post
  • 0 Reply Likes
Thank you for this little fix.
Exactly what i was looking for.