WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Past Events Loop (4 posts)

  1. Asitha
    Member
    Posted 1 year ago #

    I am trying to create a section for past events, but for some reason it is constantly looping the past events multiple times.

    Could someone please help?

    http://debbiesath.me/events-2/
    http://debbiesath.me/test

    I'm using the following to generate the list:
    [events_list]#_CATEGORYPASTEVENTS[/events_list]

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    try this instead [events_list scope="past"]#_EVENTNAME[/events_list]

    http://wp-events-plugin.com/documentation/event-search-attributes/

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    what you're doing atm is looping through every past event and showing all past events for the primary category that event belongs to.

  4. Asitha
    Member
    Posted 1 year ago #

    Thank you agelonwl - that worked. I'll have to try to figure out how to get it to link back to the post too, but this has basically fixed my issue.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic