Featured image in Post / Page as header image for post / Page.
Hello, I am trying to get the Featured Image to be used as the Header Image. I am using Nextgen gallery, and in other themes, this works. Is the some code like in this post:http://wordpress.org/support/topic/theme-twenty-eleven-make-featured-image-header-a-background?replies=2
That I can put in header.php to make this feature work? Thanks.
Here is what I am trying to do, as listed in your description: * (WordPress 3.0) Supports post thumbnails. You can now upload and set a featured image for any posts or pages, and the featured image will replace the header image when that post/page is viewed.”
How do I enable this???ModMod
Also, in Graphene Options >> Display >> Header Display Options, make sure you have the “Disable Featured Image replacing header image” option unticked.
If you take care of this and the width issue, it works. See this post: http://test.kjodle.net/blog/2011/10/09/another-test-post/
Thanks for the update. As I understood it, “Any featured image that has a size of greater than or equal to the theme’s header image size (960 x 198 pixels) will replace the header image when the post/page that featured image is assigned to is being displayed. It enables you to have different header image for different posts and/or pages.”
I select full size, but now looking at the images, they are smaller than 960px. I see that they range from 350 to 600 px wide. Is there a workaround, or do I need to edit them in order for them to be used as the program expects….Mod
Even though I increased the size to 980x, it does not see to be working. Is there something I am missing? Perhaps I messes something up in header.php when I was trying to get it to work?
Could you send me the section of header.php where this property is defined? Otherwise, I quess I can download it, and C&P the section myself. Thanks.Mod
- You must be logged in to reply to this topic.