Support

Home Forums Event Espresso Premium Espresso Events

Espresso Events

Posted: October 30, 2012 at 7:32 pm

Viewing 2 reply threads


James Bolden

October 30, 2012 at 7:32 pm

Currently on my website I have hardcoded page templates and my old event manager had the following php statement:
=&meta_value=’.$todaysDate.’&orderby=meta_value&order=ASC’);
while ( have_posts() ) : the_post();
echo ”;

To display a list of Event Espresso events what would I replace this statement with?


James Bolden

October 30, 2012 at 7:33 pm

=&meta_value=’.$todaysDate.’&orderby=meta_value&order=ASC’);
while ( have_posts() ) : the_post();
echo ”;


Dean

October 31, 2012 at 1:57 am

Hello James,

Firstly you don’t need a hardcoded template, you can use the shortcode [EVENT_LIST] https://eventespresso.com/wiki/shortcodes-template-variables/#event-list

If you still need to hardcode it in, you can use this <?php echo do_shortcode('[EVENT_LIST]');?>

Viewing 2 reply threads

The support post ‘Espresso Events’ 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