Support

Home Forums Event Espresso Premium Change order of fields in Single event page

Change order of fields in Single event page

Posted: January 30, 2015 at 7:37 am

Viewing 3 reply threads


Michiel van der Schalk

January 30, 2015 at 7:37 am

Hi Guys,

I was wondering..
How can i change the order of fields?
I want the ticket selector below the date information and the text information.

Where can I change the order?

Best regards,
Michiel


Lorenzo Orlando Caum

  • Support Staff

January 30, 2015 at 9:03 am

Hello Michiel,

Here is an example of how to change the order of the content on the single events page:

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/


Lorenzo


Michiel van der Schalk

February 6, 2015 at 8:31 am

Cheers Lorenzo for your support.
I finally got the translation files, although it is not completely done. So I now have to complete it myself right?

Then one more question about the table view plugin.
I have been looking for the price php variable to link to the table view shortcode.

<thead class="espresso-table-header-row">
<tr>
<th class="th-group"><?php _e('Event','event_espresso'); ?></th>
<th class="th-group"><?php _e('Venue','event_espresso'); ?></th>
<th class="th-group"><?php _e('Venue','event_espresso'); ?></th>
<th class="th-group"><?php _e('Date','event_espresso'); ?></th>
<th class="th-group" data-sort-ignore="true"></th>
</tr>

Now I have twice the Venue and I want to have one of them to be the lowest price. Is this possible?

Looking forward hearing from you,

Best Regards,

Michiel


Lorenzo Orlando Caum

  • Support Staff

November 18, 2015 at 8:37 am

Hello again Michiel,

As of Event Espresso 4.8.21, there is a custom display re-order option available in the WordPress dashboard.

Backup your WordPress and update your software

https://eventespresso.com/wiki/how-to-back-up-your-site/

You can see the change log for Event Espresso 4 here:

https://eventespresso.com/wiki/ee4-changelog/

Remove existing filters for adjusting the order

If you have used some of the suggested filters to adjust the order of your event elements, then you’ll want to first remove those from your website and they may have been added to your child theme’s functions.php file or a site specific plugin.

Set a custom order through the Templates screen

Afterwards, go to your WP dashboard (WP-admin) –> Event Espresso –> Events –> Templates. The Use Custom Display Order options in the Templates screen can be used to reorder the events elements on the single event page as well as the events listing page.

Again, be sure that any of the filters for adjusting the order have been removed from your site specific plugin or your child theme’s functions.php file before turning on the template reorder option. Otherwise, you may see duplicate content.

Thanks


Lorenzo

Viewing 3 reply threads

The support post ‘Change order of fields in Single event page’ 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