- This topic has 5 replies, 2 voices, and was last updated 12 years, 10 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › How to display two different formats for lists
Tagged: events list
Hello,
First, thanks for this plugin ! I’ve struggle with dates management with various plugins, and Events Made Easy is by far above the crowd.
I need to have the events list displayed differently according to where it is displayed in the site. I can’t figure out how to do that, as both lists are displayed according to what is set up in the setup page.
For example I have a band page (custom post type), where I display a lits of gigs using dates and #_EVENTNAME and #_LOCATIONNAME for that band. I’ve done that.
Somewhere else I have a list of all upcoming gigs for all bands, where I would like to use dates, #_LINKEDNAME (to forward to the band page), #_LOCATIONPAGEURL, etc.
How can I do that ? Where can I set up this second list format ?
Thanks for your help
Philippe
Use the shortcode [events_list] on a page, with the format option. See http://www.e-dynamics.be/wordpress/?cat=18 (and search this forum)
That’s what I used, but I missed the “format” key, sorry !
I’m not sure how to specify the values that way, and I can’t find an example. Is it something like this ?
[events_list limit=20 format=
]
and with php
<?php eme_get_events_list("limit=20&format=
"); ?>
Wrong markup, sorry !
yes, like that, but put the format value in single quotes and try it
Perfect ! Thanks.