Support

Home Forums Event Espresso Premium How can I have the event time show up on the event description

How can I have the event time show up on the event description

Posted: July 14, 2013 at 7:24 pm

Viewing 3 reply threads


Becky Thomas

    July 14, 2013 at 7:24 pm

    So once customers click on the home page to register for an event it brings them to the description then they have to click on the register button to register. Is there a way to add the event time to the description box so they see the time of the even along with the date?


    Dean

    • Support Staff

    July 15, 2013 at 1:43 am

    Hi Becky,

    You would need to do a template edit.

    Start by copying these files

    event-espresso/templates/event_list.php
    event-espresso/templates/event_list_display.php

    to

    wp-content/uploads/espresso/templates

    Then edit the event_list_display.php

    Look for the following code (line 75)

    <p id="event_date-<?php echo $event_id ?>"><span class="section-title"><?php _e('Date:', 'event_espresso'); ?></span>  <?php echo event_date_display($start_date, get_option('date_format')) ?>

    after the last ?> add a space and then add this code

    <?php echo $event->start_time; ?>

    This will result in the following http://d.pr/i/BLgs


    Becky Thomas

      July 18, 2013 at 3:48 pm

      Thanks, Dean. What would I need to add if I’d like the photo to appear, too?


      Dean

      • Support Staff

      July 19, 2013 at 2:14 am

      Hi

      You would need to set a featured image in the event and then in the Template Settings page under Event Espresso in the dashboard, set “Display featured images in the event list and registration pages?” to Yes. That will display the featured images on the event list and individual registration pages.

      You can use CSS from there to tweak them how you want them to look.

      Viewing 3 reply threads

      The support post ‘How can I have the event time show up on the event description’ 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 - Staging Server