Support

Home Forums Event Espresso Premium Content Arrangement for Single Event Post

Content Arrangement for Single Event Post

Posted: October 11, 2014 at 2:37 am

Viewing 4 reply threads


Cindy Menjivar

October 11, 2014 at 2:37 am

Hello, I just upgraded to the latest version off EE. I am now having an issue with the content layout, before the update the event details I added myself would show up at the top right below the event featured image and then the ticket options below. After the update, the tickets are showing up before the event details. I would like to change the order of that. Can you please advise on how to do this?

You can see what I am talking about here: http://www.hhwealth.com/Screen%20Shot%202014-10-11%20at%203.35.27%20AM.png


Tony

  • Support Staff

October 13, 2014 at 2:04 am

Hi Cindy,

To load the ticket selector after the content, you can add the function available here:

https://gist.github.com/joshfeck/1151c89082ccb5c0b478

To you themes functions.php file.

Is that what your are looking for?


Cindy Menjivar

October 13, 2014 at 6:16 am

Hi YES!! This worked, but now the issue I am having is that I need this specific event to be displayed on a password protected page, everything is private, except the ticket selector is displaying before you can put your password in. See sample here: http://hhwealth.com/events/night-of-giving/


Tony

  • Support Staff

October 13, 2014 at 6:40 am

Thank you for the link.

Change this line:

if ( 'espresso_events' == get_post_type() && is_singular() ) {

To this:

if ( 'espresso_events' == get_post_type() && is_singular() && !post_password_required() ) {

The ticket selector should then only be displayed after the password has been entered.


Cindy Menjivar

October 13, 2014 at 6:46 am

Thank you!!! You rock, issues have been RESOLVED!!!!

Viewing 4 reply threads

The support post ‘Content Arrangement for Single Event Post’ 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