• Hi,

    I was wondering if it was possible to show a list of events by combining a location and a tag at the same time. I am using multiple venues on my website.

    To show all musical events I would use the following permalink:
    /events/tag/music/

    To show all events in a particular venue:
    /events/venues/planet-earth

    But how can I create a permalink which searches for all musical events on the venue planet earth?

    https://www.ads-software.com/plugins/event-organiser/

Viewing 1 replies (of 1 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    That would be quite involved ?? But doable. You’d need to add_rewrite_rule() to create rewrite rule which points to a query for events with tag equal to music and venue equal to planet-earth.

    Unless you have a small number of both venues and tags, you might want to decide on a structure /my/event/structure/[venue]/[tag] or /my/event/structure/[tag]/[venue] so you don’t have to manually create a rewrite rule for each tag-venue pair.

    If pretty permalinks isn’t important, you can do: /events/event/?event-tag=music&event-venue=planet-earth.

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple tag's/locations list’ is closed to new replies.