[Resolved] Add a line of featured posts after the header

Home Forums Support Add a line of featured posts after the header

  • This topic has 6 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #281767


    I’m looking to add a nice selection of feature posts on my blog just between header and content. Something like that :

    I think that’s possible with GP, using a hook in after header. But what will be the best for you ?
    Do I add a bootstrap line with 6 colomns and in each a shortcode for widget ? So I just declare a new sidebar and put it in the hook ?

    Look for the nice way to do it. Any advices ?

    GeneratePress 1.3.44
    GP Premium 1.2.94
    Customer Support

    Hi Cedric,

    I think the easiest way would be using Tom’s WP Show Posts plugin and GP hooks.

    Let me know if you need more help 🙂


    Thanks, will try this, look nice and easy to do
    Will give you news on the result


    Ok, get it working. Have find CSS entry to reduce size of text so it’s matching my need. But one last thing, after header is a full width section, not limited to the size of content.
    On laptop look ok but with bigger screen it’s not good.
    I try to find how to limit width of after header but don’t find (so it take the same large as header)
    I try to add with “after header content, but so it display before menu, not what I look)

    Customer Support

    Try adding this in the hook. This will make it the same as your container size

    <div class="grid-container grid-parent">
          Featured posts here

    Let me know.


    Yes, have found it also on other post for breadcrumbs, add it add some padding minimal and now it’s nice
    Thanks, job done

    Customer Support
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.