Posted: February 27, 2014 at 5:52 pm
|
hi, new user here. π in the process of moving from the paid to free version i upgraded to 4, then reverted to a backup and upgraded to pro3 to retain access to the addons we desired. since doing that, any new featured images i assign in regular posts do not appear in my header anymore. http://pastebin.com/4xsw1pA7 is the code for my header file. thanks. |
Hi mamamojo, Apologies but I’m not sure I follow what is happening, I can see images within the header of your site and the feature image for an event on the site? Can you link us to a page and provide a description of what we should/should not be seeing please? |
|
|
sure. thanks! the site is hangout-usa.com. my theme has a large cover photo that is the featured image. this post is working and is the last one i added a cover photo to before upgrading ee from free to pro. it worked fine with the free version, that was installed when i added the featured image to /peter-levitov/ since the upgrade, i have tried to update the featured image on this (and a few other) posts/s and the featured image on the archive page updates, but in my theme, i just see the default header image. it doesn’t display my featured image. http://hangout-usa.com/mz-imani/ to make matters weirder, i updated the featured image on a few pages and those changes worked just fine. i am not a php dev, so i appreciate your experitse. thanks so much! |
Can you go to http://hangout-usa.com/wp-admin/options.php Find the image_default_link_type field. Is it set to file? If not type ‘file’ within that field and update. (no quotes) Then right a the bottom click save. |
|
So it should look like this http://d.pr/i/xy8y |
|
|
yes, the image_default_link_type is already set to file on that page. |
|
There are 2 issues: $temp = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( HEADER_IMAGE_WIDTH, HEADER_IMAGE_WIDTH ) );var_dump($temp);var_dump(HEADER_IMAGE_WIDTH); You’ll want to put it right above line 121 in your header file: if ( is_singular() && With that line in your header file, when you reload the page, you should see the debugging output. Copy and paste it in here and we should be able to tell why it’s not displaying the image. |
|
hmm… this isn’t about the event-post featured image, the issue is on regular posts in other areas of my site. same troubleshooting? |
Hello, I’ve taken another look at this post and it sounds like the issue is with featured images for regular WP posts. To my knowledge Event Espresso does not replace existing code in the header of the page. Do the images start appearing again if you temporarily disable Event Espresso through WP Plugins? — |
|
|
hi there, i’ve tried a couple things and what i’m thinking is happening is that the images are not wide enough to display as the theme wants (thanks for that thought, sidney). i don’t think the issue is with EE after all. thanks for the troubleshooting help. |
Thank you for letting us know Mamamojo π |
|
The support post ‘featured image issue?’ 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.