Support

Home Forums Event Espresso Premium Event Thumbnail Image

Event Thumbnail Image

Posted: August 29, 2014 at 11:31 am


Brian Garrett

August 29, 2014 at 11:31 am

Hello,

I am using WordPress 3.9.2 and Espresso EE4.3.1. The installation is fairly new and things are going great. However, one question that I have is hope to add a thumbnail image to my event listing. I only have one event listed on mydomain.org/events, and to the left of the event there is a box and inside of it it says ‘image coming soon’.

How can I change that to an actual image? I have searched high and low and cannot seem to find anything.

Thanks for your help!!


Sidney Harrell

August 29, 2014 at 2:05 pm

Is the image set in the event editor? Last metabox on the right column.


Brian Garrett

August 29, 2014 at 2:16 pm

I’ve seen that that is where you’re supposed to set the image, but I cannot find that box anywhere. In the event editor, I have 6 boxes on the right – update event, event registration options, tags, event categories, questions for primary, and questions for additional. I see nothing about an image, unless i’m not in the right place 🙂


Sidney Harrell

August 29, 2014 at 2:25 pm

No, that’s the right place. Are you getting any other kinds of strange behavior? Are you able to turn on wp_debug and see if you are getting any errors?


Brian Garrett

September 2, 2014 at 6:33 am

No other strange behavior that I can tell. I ran wp_debug but it only pointed to two errors with a different plugin that was old. Everything else seems to be doing fine. Is there a place within the PHP somewhere that I can manually set the image?

Also, let it be noted that when I first uploaded EE4 I made the mistake of activating it while EE3 was also still online. I corrected that by using FTP and renaming the old EE3 folder by adding a 1 to the end of it. I was then able to get back in and at that time disabled and removed both EE3 and EE4, re-uploaded EE4, activated, got all of my info put in and that’s when I noticed the image option not being available. Could that have anything to do with it?


Josh

  • Support Staff

September 2, 2014 at 1:28 pm

Hi Brian,

There’s a few things you can check for the missing upload featured image box. The first is to make sure that it’s checked in the Screen Options. If you go into the event editor, you’ll see a tab located on the upper right side of the screen that says “Screen Options”. If you click the Screen Options tab, it will display the options to show on the screen. There should be a checkbox for Featured Image.

If there isn’t an option for Featured Image, then it could be the active WordPress theme is explicitly adding support for Featured Images for specific WP post types using the add_theme_support() function.

A quick look in the theme’s functions file will confirm whether the theme is causing this too. It will have something like this:

add_theme_support( 'post-thumbnails', array( 'post', 'movie' ) ); // Posts and Movies


Brian Garrett

September 2, 2014 at 1:47 pm

Hey,

Thanks for the reply! There is no option for that in screen options on the event editor page. I checked the theme’s functions.php file and there is this line of coding:

add_theme_support( ‘post-thumbnails’, array( ‘post’ ) );
set_post_thumbnail_size( 130, 130, true ); // Normal post thumbnails
add_image_size( ‘single-post-thumbnail’, 250, 250 ); // Permalink thumbnail size

Should I add something into the array to enable the featured image on the events page?


Brian Garrett

September 2, 2014 at 2:00 pm

Nevermind, figured it out! Whoop whoop! lol. In-case this is ever helpful to anyone, I added ‘espresso-events’ into the add_theme_support array of post types to have thumbnails.

Thanks!!


Josh

  • Support Staff

September 2, 2014 at 4:45 pm

Glad you got that worked out Brian.

The support post ‘Event Thumbnail Image’ 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