• Resolved VMFnet

    (@vmfnet)


    Hello fellow events-manager users,

    I was wondering : is it possible to output a list of event categories / event locations containing only past events ?

    The goal here is to create an event archive system.

    I’ve seen the shortcode [events_list scope=”past”], but in this case I would have to manually create a page for each category, and these categories are, by nature, dynamic (created by other users).

    Any help appreciated !

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    you can see the shortcodes here – http://wp-events-plugin.com/documentation/shortcodes/

    Thread Starter VMFnet

    (@vmfnet)

    Hello Angelo,

    thank you for your answer. I’ve checked the shortcodes documentation, I can generate a global list of past events, but I don’t see how I can create a page with categories links, and have these categories list only past events (eg. obtain the same behavior as the event categories page, but only with past events shown).

    Thread Starter VMFnet

    (@vmfnet)

    I’ve tested the following shortcode in a page :

    [categories_list scope=”past” scope=”past” limit=15 pagination=1 hide_empty=1][/categories_list]

    to list only categories having past events. The categories are displayed, but when clicking them, only current events for the selected category are shown.

    When you say, “only current events for the selected category are shown”, do you mean on the single category pages?

    Thread Starter VMFnet

    (@vmfnet)

    Yes, the events are shown on a single category page (using the archive.php template of my theme).

    The link to the list of the events of a category is the same when it is called from the default event-categories page and from the categories archive page (with the aforementioned short code).

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you can try something like this

    [categories_list child_of=3]
    <h2>#_CATEGORYNAME</h2>
    #_CATEGORYPASTEVENTS
    [/categories_list]

    http://wp-events-plugin.com/documentation/placeholders/

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Create Event Archive pages per category/location’ is closed to new replies.