Support

Home Forums Event Espresso Premium X Theme Pro Header

X Theme Pro Header

Posted: August 18, 2017 at 7:29 am


compassmktg

August 18, 2017 at 7:29 am

We are having a problem adding headers to the dynamically generated events pages. Other pages in this plug in are found in the header section of Xpro and we can easily indicate the appropriate header, but for some reason, the actual events pages do not show up to be able to indicate a header choice.

Also the featured image is not showing up on those dynamically generated events pages. They ARE showing up in other areas, like the calendar and event listings. We really need some assistance with this please.


Josh

  • Support Staff

August 18, 2017 at 2:29 pm

Hi there,

I actually do not have a copy of the X-PRO theme to begin to look into this. Have you checked with theme.co’s support about these issues? If there’s a place where we can download the X-Pro theme we’d be glad to take a look to see what it’s doing.


compassmktg

August 19, 2017 at 11:02 am

Hi, Josh! We are not able to get the answers we need from Theme co. We will buy a license specifically for you to download to investigate our problem. We will I’m sure have other issues. We really needed the robust features from your software to handle event registration so we must make this work!

X-Theme Pro is a wonderful interface that we LOVE so it would probably be a good idea to work out these solutions for the X community anyway. We will be happy to give you access to our licensed copy to play with. Does that work? What do you need from us?


Josh

  • Support Staff

August 19, 2017 at 12:24 pm

We can take a look at the code of the X Theme Pro and make suggestions for how the X Theme Pro can be changed to display featured images. Please note any solutions will need to happen within that particular theme because Event Espresso’s features do not include theme specific functions.

We can look at the code if you can send us a link to download the zip file. We do not need a license because we’re not going to use the theme on a production site or anything like that. You can send the link via email if you prefer. The email address is support at eventespresso.com


Josh

  • Support Staff

August 19, 2017 at 2:24 pm

Are you sure you set a featured image for the event with the Featured Image uploader? The reason I ask is because I installed the theme you sent, and viewed an event that has a featured image set, and the featured image displays above the event’s title. Here’s a screenshot that shows where it displays:

https://www.evernote.com/l/AAT8d7VryhZGLpPSd4Ln8H4r2YtyZNEzD28


Josh

  • Support Staff

August 19, 2017 at 2:51 pm

With regards to the X theme Pro header not including a list of events in its header select page box, there’s a line of code that’s set to exclude any post types where show_ui is false. Here’s how you can fix that:

You open up
/wp-content/themes/pro/cornerstone/includes/classes/headers/class-header-assignments.php and go to line 145 and you change this line of code:
'show_ui' => true,
to be commented out like this:
// 'show_ui' => true,

What that will do is allow custom post types like EE events to load in the headers assignments box. Ideally the theme should include a filter hook there to allow filtering in additional post types. If a filter hook was there then you would not have to apply this change every time you do a theme update. Can you contact Themeco and request a filter hook there?

If they can add something like this line of code to around 149 it will allow filtering in other post types:

$post_types = apply_filters( 'cs_post_types_header_assignment', $post_types );

The support post ‘X Theme Pro Header’ 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