Filter events by custom field value

Home Forums Welcome! Pre-Sales Questions Filter events by custom field value

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1045738
    Jacob
    Guest

    Hi,

    I am evaluating whether your events calendar pro plugin will work for me. I will be adding a custom field to the event post that is created. I know I can do that my question is that I need to be able to filter (via php) the events so that the calendar only shows events where the value in that custom field I add is equal to X.

    Is there a way to do this? Alternatively can I hook into the wp-query or get_posts loop that you use and sort by meta value?

    Your timely response is appreciated so that I can decide if this plugin will support our needs.

    Thanks!

    Jacob

    #1046107
    Geoff
    Member

    Hello Jacob!

    Good question. Yes, Events Calendar PRO does include an Additional Fields feature that allows you to add custom fields for events. We also have the Filter Bar plugin, which allows visitors to filter events based on a number of variables, including those custom fields.

    Does this help answer your question? Please let me know. 🙂

    Cheers!
    Geoff

    #1052316
    Mira
    Guest

    Is it possible to filter my multiple criteria, including custom fields? e.g. Month, tag and age?

    #1052581
    Geoff
    Member

    Absolutely. You can see this sort of multi-criteria search in action here: http://wpshindig.com/events/

    Click on the Show Filters link above the calendar and you’ll be able to filter events by several different variables. If Age was one of your custom fields, then you would be able to add it to the filter bar.

    Does this help clarify things a bit? Let m know if you have any other questions. 🙂

    Cheers!
    Geoff

    #1052734
    Geoff
    Member

    Hey Jacob, I see Mira marked my last answer as the correct answer — did you have any other questions that I can help with? Please let me know. 🙂

    Geoff

    #1053899
    Geoff
    Member

    Hi folks,

    This thread has been quiet for a while so I’m going to go ahead and close it. Please feel free to open a new thread if any other questions pop up and we’d be happy to help. 🙂

    Cheers,
    Geoff

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Filter events by custom field value’ is closed to new replies.