Support

Home Forums Event Espresso Premium conflict with the EDU 1.8 by smoothemes with EE4

conflict with the EDU 1.8 by smoothemes with EE4

Posted: July 28, 2014 at 4:35 am

Viewing 2 reply threads


brent verco

July 28, 2014 at 4:35 am

Hi guys

I am having a small issue with the set featured image box disapearing since the EE4 upgrade. I have traced it to a conflict with theme EDU 1.8 by smooththemes.

I have posted this thread below on their support forum but I thought i would also post it here in case you have some info that I may be able to pass on the edu theme developers.

cheers

HI Smooth theme support

I am running EDU theme version 1.8 on my website

http://www.amsn.com.au

I am using a plugin for event management called event esspresso. they have just done a major upgrade where events are now posts as opposed to just data on a page.

Since the upgrade my ” set featured image ” box has disappeared on my events page options.

the set featured image box re-appears when i select the default theme so I am pretty sure there is a conflict with the edu 1.8 theme.

I had a similar issue which david kind solved with my learndash plugin. you can see the thread here
http://www.smooththemes.com/forum/discussion/cant-select-fetured-image-on-learndash-plugin/#post-19776
basically this code fixed the error

add_theme_support( ‘post-thumbnails’, array(‘post’, ‘page’, ‘course’, ‘event’ , ‘sfwd-lessons’, ‘sfwd-quiz’, ‘sfwd-certificates’) );

I hope you can help me with this problem as I really need the set featured image box to work on event esspresso.

I will also post this on the EE4 support forum in case they may be able to provide you ( or me ) with any ideas on how this can be solved.


Josh

  • Support Staff

July 28, 2014 at 12:08 pm

Hi Brent,

If they need help on this, I’d recommend they check the WP codex for add_theme_support:

http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails

When they optionally pass the second argument with an array of post types to allow Post Thumbnails, they are essentially disallowing any new post type from using it (like espresso_events).

While they could add espresso_events to the allowed list of post types, if they didn’t specify an array of post types, then WP would go with the default and allow all post types to use this feature. This might be a simpler solution for them, otherwise every plugin that registers a post type and uses featured thumbnails won’t work out of the box with their theme.


brent verco

July 29, 2014 at 3:32 am

Hi Josh just for completeness of this thread I have included the responce for you to have a look at from the edu theme developers below

David wrote:

Find and change this code in Edu/includes/theme-init.php

add_theme_support( ‘post-thumbnails’, array(‘post’, ‘page’, ‘course’, ‘event’ , ‘sfwd-lessons’, ‘sfwd-quiz’, ‘sfwd-certificates’, ‘events’, ‘espresso_events’) );

This is issue is now resolved and the featured image appears on my event esspresso events

Viewing 2 reply threads

The support post ‘conflict with the EDU 1.8 by smoothemes with EE4’ 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