WordPress.org

Support

Support » Plugins and Hacks » Events Manager » [Plugin: Events Manager] Event List Question

[Plugin: Events Manager] Event List Question

Viewing 9 replies - 1 through 9 (of 9 total)
  • Can I know what do you mean by causes the category search to stop functioning completely.? what is your expected result? and what is the actual result?

    Plugin Author Marcus

    @netweblogic

    could you try it as just a string, i.e. ‘6,7,…’

    $args['category'] = '6,7,8,10,11,12,13,14'; has the same effect. Its weird though since the pagination displays the correct number of events but the event list is not updated when selecting the specified category from the drop down in my search page.

    Plugin Author Marcus

    @netweblogic

    looking closer at your code, you’re right, it is incorrectly placed, and may mess up the search results. You need to place that on line 24 of the pastebin, above the echo.

    Placing at line 24 does correct the search function however, when the list is first loaded, all categories are shown as I’m not limiting it in anyway until running the search and using the specific category IDs.

    Still looking to limit the initial event loading to specific category IDs, which I can do but brings me back to the search error as stated in the above posts.

    Plugin Author Marcus

    @netweblogic

    what about if you leave the original line, and copy instead of move that line mentioned above?

    I’ve tried almost every variation of this but for some reason I cant get it to work.

    I can limit the initial events being loaded to specific IDs but search wont work.

    Or NOT limit the initial events being loaded and search does work.

    One or the other but not both. This one is a head scratcher for me.

    http://pastebin.com/85hgnx2w

    Plugin Author Marcus

    @netweblogic

    That second parameter on line 24 has to go, but aside from that, it looks ok to me.

    Which way does this snippet work, for initial load or the search?

    Removed from line 24 above is this: http://pastebin.com/Hj3rXSgy

    I get the categories limited on initial list load, but when I trigger a category search, it will not return values and only refreshes the initial event list again.

    All other event search criteria functions correctly as found on my /events/ page so it seems to only be isolated to the category field.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Events Manager] Event List Question’ is closed to new replies.
Skip to toolbar