Support

Home Forums Event Espresso Premium Featured Image Not In Event Editor

Featured Image Not In Event Editor

Posted: February 8, 2015 at 6:15 pm

Viewing 16 reply threads


Matt & Cindra McCoy

February 8, 2015 at 6:15 pm

Hi,

I just bought the Events Calendar plugin specifically so that I could put an image for each event into the calendar. But even when I select “yes” to the “enable images in calendar” box in the calendar settings, the featured image box does not show up in the event editor. How do I add a featured image?

Thanks,
Cindra


Tony

  • Support Staff

February 9, 2015 at 6:05 am

Hi Cindra,

The feature image feature is actually added through your sites theme. The theme must have at least:

add_theme_support( 'post-thumbnails' );

What some themes do is only add feature image support for specific post types.

Can you add feature images to your standard posts?

If you open up your themes functions.php file and search for “add_theme_support( ‘post-thumbnails'”, (without the ” “) are there are hits?


Dean

February 9, 2015 at 6:25 am

Hi Cindra,

The featured image box should be there regardless of the calendar installation or settings. It should be on the right hand column, usually near to the bottom.

If for some reason it is not appearing, please try disabling all other plugins except EE and EE calendar. If the featured image box returns (you will need to refresh the event page) then another plugin is causing a conflict.

Please re-enable the plugins one by one testing the feature image box each time until the culprit is found.

If the featured image box does not appear even with the plugins deactivated please advise us.


Matt & Cindra McCoy

February 9, 2015 at 10:45 am

Dean – I tried this and the featured image box does not appear even with the plugins deactivated. However it is there (on the right side) when I create any other post or page within my wordpress theme.

Tony – This sounds more on par with what I am experiencing. I found my theme’s function file, but this is my first wordpress site and I have no experience with writing code. You are going to have to dumb this down for me quite a bit! Here is what is in the function file:

<?php

require_once “framework/blahlab_wp/blahlab_wp.php”;

Blahlab_WP::initialize();

?>

Do I need to post the line of code you provided above in this somewhere?


Tony

  • Support Staff

February 9, 2015 at 10:48 am

It may be better if you could email me a copy of the theme so I could take a quick look?

If so just send a copy to support[at]eventespresso.com (include a link to this thread so se can link the two together)


Matt & Cindra McCoy

February 9, 2015 at 10:50 am

What do you mean a copy of the theme? A link to my website?


Tony

  • Support Staff

February 9, 2015 at 10:56 am

No, I mean a physical copy of the theme so I can view the code, although if you can link me to your site I can take a look and see what theme you are using.

What is the name of your theme?
Did you purchase it from a marketplace or download it from the WP repo?


Matt & Cindra McCoy

February 9, 2015 at 11:42 am

I am going to have my graphic designer look at what you have said and see if she can figure it out. I’ll get back to you. Thanks so far!


Tony

  • Support Staff

February 10, 2015 at 1:44 am

Hi Cindra,

I just wanted to check in and see if you fixed the feature images?


Matt & Cindra McCoy

February 10, 2015 at 11:19 am

Not yet. Still waiting on my graphic designer. Thanks for checking in though…


Matt & Cindra McCoy

February 17, 2015 at 11:07 am

Hi Tony,

Sorry it took me so long to get back to you. My graphic designer is trying on her end to figure this out. Unfortunately she has not been successful either.

I got my theme here: http://themeforest.net/item/vagenta-clean-and-unique-wordpress-template/2820618

The link to my website in progress: http://www.artnook.org

And I have no clue what you mean by a physical copy of my theme because I have absolutely no experience with creating websites! This event espresso stuff was advertised as easy and not one thing I have done with your program has been easy. As you can tell, I am getting incredibly frustrated! Please help!


Matt & Cindra McCoy

February 17, 2015 at 11:30 am

OK. I just talked to my graphic designer and she told me what you mean by a physical copy. I have the theme folder ready to send to you. Where would you like me to send it? Email address?


Dean

February 18, 2015 at 1:55 am

Hi,

You can email it to use (ideally as a zip file which is likely how you downloaded it when you originally bought it) to support@eventespresso.com.

Please include a link to this forum thread (https://eventespresso.com/topic/featured-image-not-in-event-editor) in your email, so that we can match them.


Matt & Cindra McCoy

February 18, 2015 at 9:15 am

Done…

Sent two different zip files. One of vagenta theme and one with the whole folder I downloaded originally. Please let me know if you need anything else to continue.


Dean

February 19, 2015 at 1:08 am

Hi,

OK what’s happening is that your theme is correctly allowing different posts to have featured images, e.g. posts, pages and the themes custom post types.

Unfortunately it is specifying these post types exactly, which means any custom post type not in its list will not be allowed featured images. I don’t think the theme developer was wise with this decision, but that’s my opinion.

I have crafted up a basic fix for you. Add the following code to a site specific plugin (see here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/) and it should allow the featured image in any post type.

add_action( 'after_setup_theme', 'defer_the_remove_action_filter', 0 );

function defer_the_remove_action_filter() {
	remove_action('after_setup_theme', 'add_thumbnails_support');
	add_action('after_setup_theme', 'new_add_thumbnails_support');
}

function new_add_thumbnails_support() {
	add_theme_support('post-thumbnails');
}


Matt & Cindra McCoy

February 19, 2015 at 12:44 pm

This worked! Thank you! Thank you! Thank you!


Dean

February 20, 2015 at 4:19 am

You’re welcome!

I also left a message on the theme developers Themeforest page advising them of a fix they can make. If they do make it, you can remove that function.

Viewing 16 reply threads

The support post ‘Featured Image Not In Event Editor’ 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