Category array (by ID) for map display

WordPress Event Management, Calendars & Registration Forums General Question Category array (by ID) for map display

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 9 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18096

    Is there a way to input category array in shortcode (by cat IDs) to display events in a map? I’d like to avoid adding events to a parent category as well, if possible.

    Thank you

    Willow
    #18097

    Yes (using slugs, not IDs) the events map shortcode accepts the same arguments as the event list shortcode (see event_category attribute: http://docs.wp-event-organiser.com/shortcodes/events-list/)

    The documentation doesn’t say this but you can pass multiple categories by a comma delimited list of slugs.

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.