Support

Home Forums Event Espresso Premium Customize the list of events

Customize the list of events

Posted: August 27, 2014 at 1:48 pm

Viewing 3 reply threads


Benjamin Nizet

August 27, 2014 at 1:48 pm

Hi,
I would like to have an introductory text and image before the list of events.
How can I do that ?

Thanks for your help,
Benjamin


Jonathan Wilson

August 27, 2014 at 3:46 pm

Hi Benjamin,

The best way to do this is to paste the [ESPRESSO_EVENTS] shortcode on a page, then add your text above it.


Benjamin Nizet

September 2, 2014 at 1:10 pm

Hi,
Thanks for your help. However, I would like to be able to do that on the homepage of the events. Is that feasible ?
Basically, I would like to keep a customslug for my events, and that the homepage of the slug would display a description and image before the list of
all events… : example.com/customslug

Thanks for your help,


Lorenzo Orlando Caum

  • Support Staff

September 2, 2014 at 3:40 pm

Hi,

That is possible but you would need to build a template for your events list page.

http://codex.wordpress.org/Post_Type_Templates

Create a theme template named archive-espresso_events.php. It should be based on an existing page layout such as the page.php file.

Then place it in your theme’s root directory. For the default WordPress Twenty Thirteen theme, this location will be wp-content/themes/twenty-fourteen.

Then you change this:


to this:

			

The last step is to add your html for your description and image above the line of code above and save changes.

This will tell Event Espresso to use this custom template for only the event list page.


Lorenzo

Viewing 3 reply threads

The support post ‘Customize the list of 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