Support

Home Forums Event Espresso Premium Event Information Content & Layout Changes

Event Information Content & Layout Changes

Posted: January 3, 2013 at 8:01 am


Sean Collishaw

January 3, 2013 at 8:01 am

Hi EE Support folk! I’ve been mulling this one over for a while now, and can’t figure out how to do what I want. As reference, here is a live event: http://www.climbcrux.org/event-registration/?ee=16
What I would like to do is move the event time information (date, start time, end time, etc.) to the top of the event listing so attendees can see that right off the bat without having to scroll down.I’ve dug around in the registration_page_display.php file, but can’t figure out how to break the event information apart from the registration form. I want Registration to remain at the bottom, just as it is, but move the Date / Time info to the top.Can that be done? Thanks!


Josh

  • Support Staff

January 3, 2013 at 10:42 am

Hi Mike,

In most cases, it’s best to leave this in the form, since this information gets passed into the registration form with hidden inputs. What you can do is add the event time information to the top of the form, and then hide the date/time info that appears below with CSS display:none.

So as an example, you could add the EVENT_TIME shortcode near the top of the template. Example:

<?php echo '<p>Date: ' . do_shortcode('[EVENT_TIME event_id="'.$event_id.'" type="start_date" format="F jS"]') . '</p>'; ?>

Then to hide the date and times that appear on the form, add this style to your custom stylesheet:

.start_date, .event_time {display:none;}


Sean Collishaw

January 10, 2013 at 9:23 am

Got it! Thanks Josh!!

The support post ‘Event Information Content & Layout Changes’ 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