- This topic has 16 replies, 5 voices, and was last updated 7 years, 5 months ago by
Tom.
-
AuthorPosts
-
September 22, 2014 at 8:06 pm #33150
Drew
Hi there,
I searched the forum and did not see this solution so hope I didn’t miss it. On my blog posts the Blog Post/Article title is appearing AFTER the featured image of the blog post…I want the blog post/article title to appear BEFORE the featured image. How can I modify this and make the latter the default for all of my blog posts? I am also not seeing a pre-defined option to change this in any of the theme plugins (I have all of them as far as I know.)
Thank you,
-Drew
September 22, 2014 at 11:34 pm #33156Tom
Lead DeveloperLead DeveloperHi Drew,
Are you using one of our child themes, or the default parent theme?
Let me know, and I should be able to provide you with some code.
Thanks!
September 23, 2014 at 12:59 pm #33295Drew
Hi Tom,
As far as I know I am using the default parent theme.
Thank you,
-Drew
September 23, 2014 at 11:53 pm #33487Tom
Lead DeveloperLead DeveloperAre you talking about the single view, when you’re viewing individual posts? Or the blog view, where all of the posts are shown? The featured image should show below the title on the blog by default – but they show above on the single post.
Let me know π
September 24, 2014 at 10:29 am #33784Drew
The Post title is displaying just fine above the featured image in the blog view, but in the single post view (I.E. when you click on the article and are taken to the full article post page) the featured image is displaying above the title…I don’t want this, I want the featured image to display below the post title on the individual/single post view.
Thank you,
-Drew
September 24, 2014 at 4:36 pm #33957Tom
Lead DeveloperLead DeveloperGotcha.
This would take more than a few lines of code, but I’ve marked it down as a future feature of the Page Header addon. Right now, you can choose above content or inside content, so I’ll add a below title feature in the next version.
Thanks!
October 6, 2014 at 12:13 pm #37336Drew
Thank you, adding this option is much appreciated!
May 25, 2015 at 3:21 pm #110244Paul
Hi,
I very hope you can help me. I have the latest version of generatepress and if I choose any single post, it shows me the Title of the post under the featured picture. I want to have the title with name of author and date above.
How can I change it??
Thanks
PaulMay 25, 2015 at 10:59 pm #110283Tom
Lead DeveloperLead DeveloperHi Paul,
With the Page Header add-on activated, go to “Appearance > Customize > Page Header” and set the Single Post Header Position to “Below title”.
That should do it π
November 30, 2015 at 4:02 am #156737Anton
How do we get the same thing to apply to pages and not just posts?
November 30, 2015 at 10:33 am #156833Tom
Lead DeveloperLead DeveloperIn that case why not just add your picture to the regular content of the page above the rest of your content? That will achieve the same thing.
Let me know if that doesn’t work for you π
December 1, 2015 at 9:07 pm #157180Anton
Hi Tom,
Yes but I don’t want the image to be constrained within the content container’s padding; I want it to be the full width of the content box. Also, I want to take advantage of the auto-resize / cropping feature so it always appears at a fixed height.
In other words, I just want the same settings that apply to feature images in posts to work in pages too.
Thanks,
AntonDecember 1, 2015 at 10:29 pm #157192Tom
Lead DeveloperLead DeveloperOk, we’ll just have to add a little PHP to tell it to go below the title.
Is your page header set to above the content area or inside it?
December 3, 2015 at 4:26 pm #157852Anton
Hi Tom, the page header is set to inside the content area.
December 3, 2015 at 11:41 pm #157893Tom
Lead DeveloperLead DeveloperTry this PHP:
add_action( 'wp','generate_remove_page_header' ); function generate_remove_page_header() { remove_action('generate_before_content','generate_page_header_inside', 10); add_action('generate_after_entry_header','generate_page_header_inside', 10); }
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
-
AuthorPosts
- You must be logged in to reply to this topic.