Support

Home Forums Event Espresso Premium Editing the event template

Editing the event template

Posted: March 28, 2017 at 11:54 pm

Viewing 2 reply threads


barlee

March 28, 2017 at 11:54 pm

Hi,

Is it possible to edit the event template, as it is now the Venue shows a link to the Venue page, i want to remove that link as the Event page does not display correctly and there is no need to see a full page with the event.

http://www.rotarywales.co.uk/events/rotary-charity-cycle-ride/


Tony

  • Support Staff

March 29, 2017 at 7:15 am

Hi there,

Yes the output can be edited, you’ll need to take over the template used to output those details.

You can copy the template from:
\event-espresso-core-reg\public\Espresso_Arabica_2014\content-espresso_events-venues.php

Place a copy of that file within the root directory of the theme.

Its not clear what you want to remove, just the link?

You can do that by changing line 10 from:

$venue_name = espresso_venue_name( 0, 'details', FALSE );

To

$venue_name = espresso_venue_name( 0, NULL, FALSE );

EE will then just output the name of the venue without it linking to the page.

Or you can removig it completely from the template if preferred.


barlee

March 29, 2017 at 7:24 am

Thank you

Viewing 2 reply threads

The support post ‘Editing the event template’ 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