Yes, you’d need to do something like this:
[events_list scope="2013-12-25" location="3"]
#_LOCATIONLINK
[/events_list]
That would show events from Dec 25th 2013 at the location with the ID 3.
You’re basically combining shortcodes:
http://wp-events-plugin.com/documentation/shortcodes/
with placeholders:
http://wp-events-plugin.com/documentation/placeholders/
to get the combination you want.
This is the shortcodes I am using:
[events_list scope=”2013-08-01″ Location=”8″]
<hr />
[events_list scope=”2013-08-01″ Location=”1″]
<hr />
[events_list scope=”2013-08-01″ Location=”9″]
<hr />
[events_list scope=”2013-08-01″ Location=”12″]
Here is the link: http://www.wistatefair.com/wp/august-1/
My problem is I would like the location to only display once i.e. “Saz’s Racing Pigs Arena”. Thanks for the help.
Sorry, I can’t think of way of combing shortcodes and placeholders to do that.
Thanks for your help, maybe someone else can way in.
maybe you can create new shortcode for this – http://codex.wordpress.org/Shortcode_API and then try something like
$locations = EM_Locations::get($args);
foreach ( $locations as $EM_Location ) {
echo "<H2>".$EM_Location->output('#_LOCATIONNAME')."</H2>";
echo do_shortcode('[events_list_grouped mode="monthly" location='.$EM_Location->location_id.' ]');
}