Home › Forums › Calendar Products › Events Calendar PRO › Not all venues showing up in venue filter
- This topic has 4 replies, 3 voices, and was last updated 11 years ago by
Support Droid.
-
AuthorPosts
-
March 14, 2015 at 6:17 pm #948379
Jen Russo
ParticipantThe venues in my filter are getting cut off at alpha sh
it does both for pull down or check box no matter what setting.
How do we fix?
Jen
file:///var/folders/tb/ch1m8std4znggbw16bywd6180000gn/T/com.skitch.skitch/DMD86293502-2945-45F4-BABA-BA935C5CF4A4/Fullscreen_3_14_15_3_11_PM.jpg

file:///var/folders/tb/ch1m8std4znggbw16bywd6180000gn/T/com.skitch.skitch/DMD2413CAD1-B779-453D-B3C0-8689E658061D/Fullscreen_3_14_15_3_10_PM.jpg
March 15, 2015 at 9:40 am #948420George
ParticipantHey Jen,
Sorry you’ve run into issues here.
Unfortunately, after a little digging here the only step I can think of taking here is to head into some of the Events Filterbar plugin code directly – are you comfortable with this?
If so, basically you’ll want to head to /lib/filters/Venue.php in your Events Filterbar plugin files, and look for code around line 49 or so of the plugin – you should be looking for a line of code that looks like this:
'posts_per_page' => 200, // arbitrary limitIf you find this code, try changing the 200 there to -1, like this:
'posts_per_page' => -1,Then save the changes to this file, refresh things on your site and see if your issues improve here at all.
This little change passes “negative one” to the ‘posts_per_page’ query parameter for Venues in the filterbar, which should tell WordPress to grab all Venues instead of cutting them off at 200.
I’m really sorry that this requires a code change like this to investigate – if this ends up helping you, then we can definitely make this a filter or something in a future update of the plugin so that changing this value is much easier.
Let us know if this helps!
Thanks,
GeorgeMarch 15, 2015 at 12:40 pm #948450Jen Russo
ParticipantThank you george, I will change that and let you know how it goes.
March 16, 2015 at 2:59 pm #948699George
ParticipantOkay, please do!
Thanks,
GeorgeJuly 7, 2015 at 6:31 am #983876Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Not all venues showing up in venue filter’ is closed to new replies.
