Support

Home Forums Event Espresso Premium Display short description w/Custom Template addon

Display short description w/Custom Template addon

Posted: December 14, 2013 at 9:57 am


devjenifer

December 14, 2013 at 9:57 am

I am using the “Custom Template Addon” events-table template, how to get the short description to display along with the event name?


Dean

December 16, 2013 at 2:25 am

Hi,

That template isn’t designed to have descriptions, but if you are ok editing the template file you could add them in.

Line 96 says

<td id="event_title-<?php echo $event->id?>" class="event_title"><?php echo stripslashes_deep($event->event_name) ?></td>

Change it to

<td id="event_title-<?php echo $event->id?>" class="event_title"><?php echo stripslashes_deep($event->event_name) ?><br /><?php echo stripslashes_deep($event->event_desc); ?></td>

Only issue is that the code does not allow the use of the more tag, so unless you added more code to limit it by character count, then it will display the full description.

The support post ‘Display short description w/Custom Template addon’ 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