Home › Forums › WordPress Themes – Premium › Lavish Pro › Show featured image as a header image on blog posts
Hi
Now that I have fixed my site, I would like to know how to properly use the Featured Image on a blog post as the Header Image under the navigation.
I have tried copying and pasting code from the web, but obviously that broke the website and I don’t want to do that again. Can I use a widget or is there a way of doing it differently?
Thanks
Hi AfAJW,
You can place text widgets on to the Banner wide sidebar. Then you can place image tag on to text widgets. Something like this:
<img src="image url" />
Let us know if we are understanding you fully or perhaps this is not what you meant for.
Thanks
Hi.
Your image didn’t come through, so I don’t know whether it answers the question – but in case it didn’t let me explain in more detail.
When the image is uploaded in to the library, I can use the text widget on the banner wide when I can copy and paste the url of the image from the library in to an tag but the featured image image is a little different. I don’t want to be doing an
tag in a widget for every post, instead, I want to be able to assign something in a widget that says, effectively “when it’s a blog post, use the featured image”
Does that help?
HI there,
A bit confused here, featured image of every blog post can be shown automatically. You can see here on demo:
If you want to keep image just above the list of blog post then there is way you can do that:
1. Same method given on previous reply. Later you can use widgets visibility module of jetpack to hide/show on specific pages.
2.You need to customize the index.php template. Please proceed for this only if you are technically sound on WordPress otherwise you will be facing same error ie site can be down.
Thanks
With our premium themes, we offer access to site documentation, video tutorials and timely support. Even if you have just started on WordPress, our support staff have the patience to help you create appealing sites gracefully.
Company
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.To find out more, including how to control cookies, see here: Privacy Policy
© Copyright © 2023 Styled Themes. All Right Reserved.