- This topic has 5 replies, 2 voices, and was last updated 5 years, 12 months ago by Tom.
May 15, 2015 at 1:17 pm #108164Hftt
On some posts, I’d like to add extra content on the top using page header addon.
After adding content in page header addon for desired post, the featured image above post title doesn’t appear anymore. The featured images from other posts are OK.
But when I deactivate page header addon, I can see the featured image.
Am I doing something wrong?May 15, 2015 at 11:56 pm #108220TomLead DeveloperLead Developer
When you add content into the Page Header add-on, it will replace the featured image with your added content.
If you want content and your featured image in the page header, you can do something like this: http://generatepress.com/forums/topic/page-header-add-on-text-next-to-image/#post-108104
Let me know if you need more info 🙂May 16, 2015 at 3:42 am #108261Hftt
Can I disable featured image being replaced by page header addon content?
I need to use page header addon on some posts, and at the same time, I’d like to maintain original featured images.May 16, 2015 at 8:55 am #108303TomLead DeveloperLead Developer
If no page header content is set, it will show the featured image.
The featured image will only be replaced when there’s some sort of content set in the page header metabox.
The Page Header metabox is basically a more advanced featured image field, which is why it overwrites the featured image functionality. Making it so they both worked hand in hand would require a decent re-write of the code, and would probably make a lot of people mad at me when they updated 😉
Are you wanting to display both the featured image and the page header content at the same time? What would you want it to look like?May 16, 2015 at 12:12 pm #108357Hftt
Thanks for reply T.
For example –
Here’s the single post with featured image (no page header content) –
When I add page header content on that post, the featured image is being replaced. 🙁
And YES, I really want to display page header content + featured image at the same time.
But other GP users would be mad at you because of this page structure, forget about it. Absolutely fine. 🙂May 16, 2015 at 10:40 pm #108427TomLead DeveloperLead Developer
How about adding that image to the actual post content, and floating it left at the top?
If your blog is showing excerpts, the content image won’t show.
Then on the single post, your page header will show, and your content image will as well.
Let me know 🙂
- You must be logged in to reply to this topic.