WordPress.org

Forums

Events Manager
[resolved] filter events by category (4 posts)

  1. anoroc1
    Member
    Posted 8 months ago #

    How do I set up a filter by category option like on this site:

    http://www.delawarehospice.org/news-events/events-calendar/

    Trying to set this up on another site. When I use the search feature, to search by category it says no events, but I know that there are.

    https://wordpress.org/plugins/events-manager/

  2. angelo
    NetWebLogic Support
    Posted 8 months ago #

    you can try to add shortcode [events_calendar category="x"] where x is the events category id

  3. anoroc1
    Member
    Posted 8 months ago #

    Thanks. But wouldn't that only list the events in x category? I want all events listed and then an option to filter the list based on event type, that the user would select from a dropdown list.

  4. caimin_nwl
    NetWebLogic Support
    Posted 8 months ago #

    I think what Angelo was suggesting is that you could that shortcode on your page to show a calendar that contains only events from the chosen category.

    You'd need to do some custom coding to make the go button on your filter dropdown generate a page that contains the category ID in the URL, which can then be picked up and used by the shortcode.

Reply

You must log in to post.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic