Support

Home Forums Event Espresso Premium Event Description before Ticket Options

Event Description before Ticket Options

Posted: June 22, 2015 at 9:00 am

Viewing 6 reply threads


crostad

June 22, 2015 at 9:00 am

Hi,

I would like to have the event description ABOVE the tickets. How can i go about doing this?


Lorenzo Orlando Caum

  • Support Staff

June 22, 2015 at 9:56 am

Hello,

Try this sample coding for adjusting the order of the event elements:

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


crostad

June 22, 2015 at 12:08 pm

I have created a functions.php in my child theme and have added the suggested code to it. When I upload the functions page I get this error.

Fatal error: Cannot redeclare et_add_home_link() (previously declared in /home3/rlp/public_html/wp-content/themes/StyleShopChild/functions.php:92) in /home3/rlp/public_html/wp-content/themes/StyleShop/functions.php on line 96


Lorenzo Orlando Caum

  • Support Staff

June 22, 2015 at 12:37 pm

Hi, if you are already using a child theme, then it should already have an existing functions.php file. You could use that file to add the sample code.

Try removing or renaming the duplicate file that was added and then move the changes over to your existing functions.php file.

Thanks


Lorenzo


crostad

June 22, 2015 at 1:09 pm

That worked! Thanks!


Shannon Mattern

June 24, 2015 at 1:40 pm

Just what I needed – thanks!!


Lorenzo Orlando Caum

  • Support Staff

November 18, 2015 at 8:47 am

Hello again,

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 6 reply threads

The support post ‘Event Description before Ticket Options’ 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