WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Quick Shortcode Questions (3 posts)

  1. briegger
    Member
    Posted 1 year ago #

    I'm trying to use the shortcodes to create a list of previous engagements. I've got all of the engagements (events) entered in. This is the code:

    [events_list category="Medicare" year="2012" order=DESC]

    It is not getting the category part correct. I'd also like it to be just previous events and not limited to just last year. Any advice?

    http://www.medicareinsuranceprofessionals.com/previous-events/

    Thanks!

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

  2. agelonwl
    Member
    Posted 1 year ago #

    Hi,

    the problem is that your category search attribute is the category name and not the category ID -> [events_list category="x" year="2012" order="DESC"] where x is the events category id; category ID is located at Events > Event Categories ( if ID is not displayed try to click Screen Option > enable ID then click apply )

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

  3. briegger
    Member
    Posted 1 year ago #

    That was it!! Thank you so much!!

    So, 2nd half of that question, is it possible to do some sort of short code that just calls up all previous events instead of using (year="2012") so it would just keep calling up the previous events as the years roll on?

    Thanks again!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags