1. you can modify template file at wp-content/plugins/events-manager/templates/templates/events-list.php
to use templates: http://wp-events-plugin.com/documentation/using-template-files/
e.g.
– copy events-list.php From wp-content/plugins/events-manager/templates/templates/ To your theme directory at wp-content/themes/Your Theme Name/plugins/events-manager/templates/events-list.php
2. “different styling for shorcode”; try this tutorial http://wp-events-plugin.com/tutorials/creating-a-events-manager-add-on-a-complete-walkthrough/
Hello agelonwi,
thanks for trying to help me.
I did look at both of the links before I posted this. I was hoping for more…
I will try to work #1.
#2, though, is a little different from what I need. I don’t need different styles for different events. I need different styles for the way events are listed in different page. for instance, the way events are listed in Front page should be have different look than on the Events page itself, and on sidebars. right now they are all sharing the code in Events->Settings->Formatting->Events.
I need to make it so that the shorcode is not taking the formatting from this.
Where can I go modify this?
you’d probably need to use PHP in order to get this done.
$EM_Events = EM_Event::get();
foreach($EM_Events as $EM_Event){
//use php to decide on your format
$format = '#_EVENTNAME ....';
echo $EM_Event->output($format);
}
hello Marcus,
what I ended up doing was for the Events page, create a separate event template on the main directory, and pointed to it instead of default on the admin->pages->Events.
so that the Event Page will have different layout than one formatted using Events Format tool. Events Format is being used for shortcodes only. Now, only if I can get shorcodes to have different styling depending on the page…. I think what I’ll do is have classname to be pulled from pagename or something and make that dynamic…
thank you agelonwl and marcus for your help.