• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How can I add x most recent posts in middle of my Showcase Pro static home page?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How can I add x most recent posts in middle of my Showcase Pro static home page?

This topic is: resolved

Tagged: Showcase Pro

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 9 months ago by Canonical.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 4, 2016 at 8:50 pm #194241
    Canonical
    Member

    Can someone point me to samples of code that might be called from my static Showcase Pro home page (front_page.php) to render the most recent 10-20 blog posts? Essentially I want a hybrid home page (part static home page, part blog home page).

    I would like to have teasers with images for each of the posts rendered after the front page widget areas are rendered (Front Page 1-4) but before the Before Footer Widget Area is rendered?

    Is this possible?

    Thanks!

    October 9, 2016 at 10:53 am #194411
    Christoph
    Member

    Hi,

    why not just use the Genesis Featured Post widget in the last widget area or adding an additional widget area for it?


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    October 9, 2016 at 5:08 pm #194427
    Canonical
    Member

    Actually I am doing exactly that. On the static home page I am using the Genesis Featured Posts widget to "feature" 4 posts. I going to use the Genesis Featured Pages widget to also feature 4 resource pages. But I still have a need to have blog home page that shows the 10-20 most recent blog posts.

    WordPress is totally capable of being used to implement both a static home page and separate blog home page in a sub-folder. Just a short-coming of this particular theme that you can have either a static page OR a blog home page with the layout your want, but not both. Every other blog related page (categories, archives, posts, etc.) look at the default theme layout for the blog when rendering. But the front-page.php template does not

    I guess I have to ad some code myself to front-page.php to somehow lookup what the Theme Setting value is for the default blog layout, and set it when it is used to render the blog home page at /blog/. That was the code snippet I was looking for and have been unable to find. I don't really want to hard code the front-page.php template to a particular layout because if I change the Theme Settings for the blog layout, I want ALL blog pages to change, not all except the blog home page.

    Guess I'll keep digging.... But it's frustrating as I'm wasting many days on this that I should be using to build out the rest of the site.

    October 9, 2016 at 5:10 pm #194428
    Canonical
    Member

    Ooops. Sorry.

    Ignore everything above after the 3rd sentence. I have another post about that problem where I have both a static home page and a blog home page at /blog/.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How can I add x most recent posts in middle of my Showcase Pro static home page?’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble