Support

Home Forums Event Espresso Premium Edit Templates

Edit Templates

Posted: October 11, 2012 at 11:01 am

Viewing 5 reply threads


James Bolden

October 11, 2012 at 11:01 am

My site has custom templates with the following text (referring to another event management plugin):
=&meta_value=’.$todaysDate.’&orderby=meta_value&order=ASC’);
if ( have_posts() ) : while ( have_posts() ) : the_post();
echo ”;
?>
<a href="”>
<?php
echo '’;
endwhile; else:
echo ‘No upcoming event.’;
endif;
wp_reset_query();
?>

What syntax would I use to replace it with Espresso information?


Josh

  • Support Staff

October 11, 2012 at 11:14 am

Hi James,

The code didn’t come through. Either way, Event Espresso doesn’t require you to modify the theme templates in order to display events. It uses a different method that involves placing shortcodes on a page and publishing it.

For example if you want to display a list of events, you can add this to a page:
[EVENT_LIST]
and it will do the rest of the work.

There are more details about the available shortcodes here:
https://eventespresso.com/wiki/shortcodes-template-variables/


James Bolden

October 11, 2012 at 11:17 am

Is there a way to submit a file?


Josh

  • Support Staff

October 11, 2012 at 3:14 pm

I’m not sure I understand your question. What are you trying to do?


James Bolden

October 13, 2012 at 11:48 am

Right there are templates on our website that call upcoming and features from our old RSVP maker plug in. I would like to edit the template to pull information from the event espresso system. My problem is a don’t. Know syntax to use to replace the rsvpmaker statements. Look at our website http://www.westpalm100.org under calendar of events.


Josh

  • Support Staff

October 15, 2012 at 12:40 pm

Hi there,

I’m still not sure what you are looking to do. I view the calendar of events page, and it’s displaying a calendar generated by Event Espresso. I can recommending removing the “(Available parameters: month, basicWeek, basicDay, agendaWeek, agendaDay)” message from the page as it’s not needed.

I can also point you to our shortcode documentation that includes examples of shortcodes that can be added directly to template:
https://eventespresso.com/wiki/shortcodes-template-variables/

Viewing 5 reply threads

The support post ‘Edit Templates’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso