Not all venues showing up in venue filter

Home Forums Calendar Products Events Calendar PRO Not all venues showing up in venue filter

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #948379
    Jen Russo
    Participant

    The venues in my filter are getting cut off at alpha sh

    it does both for pull down or check box no matter what setting.

    http://mauitime.com/events/

    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

    Fullscreen%203/14/15%203:11%20PM

    file:///var/folders/tb/ch1m8std4znggbw16bywd6180000gn/T/com.skitch.skitch/DMD2413CAD1-B779-453D-B3C0-8689E658061D/Fullscreen_3_14_15_3_10_PM.jpg

    Fullscreen%203/14/15%203:10%20PM

    #948420
    George
    Participant

    Hey 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 limit
    

    If 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,
    George

    #948450
    Jen Russo
    Participant

    Thank you george, I will change that and let you know how it goes.

    #948699
    George
    Participant

    Okay, please do!

    Thanks,
    George

    #983876
    Support Droid
    Keymaster

    This 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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Not all venues showing up in venue filter’ is closed to new replies.