Support

Home Forums Event Espresso Premium 1st Event upside down

1st Event upside down

Posted: March 19, 2015 at 6:50 pm

Viewing 7 reply threads


Daniel Stone

March 19, 2015 at 6:50 pm

Hello,
I just purchased and installed EE4 last night. I created my first event and like how the form entry works.
My only concern is how the published event is displaying.

In the create an event form it look like the the data is entered like:
1. Description
2. Event datatime
3. Tickets.

On the published event page it shows:
1. Tickets
2. Events datetime
3. Description.

Is there a way to change this display order?
I would like it:
1. Describe the event
2. Event datetime
3. Tickets/register now

Thank you for your help.


Lorenzo Orlando Caum

  • Support Staff

March 19, 2015 at 8:37 pm

Hi Daniel,

Try this sample coding in this link:

https://gist.github.com/lorenzocaum/a33405557a2a065779ea

It can be added to your child theme’s functions.php file (do not include the opening php tag) or a site specific plugin:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

The order of the elements on the single event page will be be changed to event image, event description, ticket selector, datetimes…


Lorenzo


Daniel Stone

March 21, 2015 at 2:58 pm

Lorenzo,
Thank you for your prompt and detailed response.
I am not too strong in php coding but I am willing to try this fix.

I was wondering does everyone’s events show up in this order?
When I jump the demo EE4 site and create a test event it looks like it shows up as:
Event Details
Tickets
dates
location

Will I have add this fix to each event that I add or could there be something causing this order issue?
Thank you.


Lorenzo Orlando Caum

  • Support Staff

March 23, 2015 at 3:33 pm

Hi Daniel, the demo site for Event Espresso 4 uses a custom theme.

Applying the filter will change the order and you only need to do it once.

Were you able to get it setup?

It is ready-to-go and just needs to be added via a site specific plugin or a child theme.

Thanks


Lorenzo


Daniel Stone

March 25, 2015 at 7:56 pm

Lorenzo,
I am volunteer web guy and was finally to get that code plugged in.
It now shows as:
description
ticket
datetime

No location is shown.
So if understand this correctly my site Theme could be messing with my event layout?
Thank you.


Josh

  • Support Staff

March 26, 2015 at 8:33 am

Hi Daniel,

It doesn’t sound like the theme is messing with the event layout. Lorenzo’s code moves the items into this order: event description, ticket selector, datetime.

Do you want the location to be displayed? If so, you can go to Event Espresso > General Settings > Template settings and set “Display Venue Details” to Yes.


Daniel Stone

March 30, 2015 at 7:15 am

I think my event is showing correctly now with the help of Lorenzo’s code.
I don’t understand why it was out of order, but we are going forward now.
I will have to start another question about my ‘questions’ problem. 🙂


Michael

March 30, 2015 at 1:13 pm

I just want to say great question. I didn’t really think about that, but the order you suggested makes sense so I went ahead and changed mine as well using the plugin method suggested here https://eventespresso.com/topic/where-ticket-selector-is-displayed/

Viewing 7 reply threads

The support post ‘1st Event upside down’ 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