Show latest Posts on home page of Executive Pro Theme

These forums are for general discussion on WordPress, CSS and design and site feedback. Official support for StudioPress themes is offered exclusively through the My StudioPress member area. 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.

This may be a basic question and simple solution, but I can't figure out how to show my latest blog posts on the front page of my site.

I was using the Balance theme and it was there, but then upgraded to the Executive Pro theme and they disappeared. I have the setting set to show all posts and not be a static page, but none are appearing. I would like them to show after the Call to Action. Any help would be appreciated.

Hi,
Many themes nowadays are all customized, and don't just pop out latest Posts anymore, which is a little confusing.

I don't have Executive, but I have a place to look. Generally modern hipster theme homepages are populated by widgets. So go to Appearance.... Widgets, and see if you have some that are named "Home..something or other". Based on the code, I'm guessing you'll have a widget called Home Middle. Try dragging Recent Posts into that, and adjust the number of Posts to taste.

There's a file that controls the markup of these modern hipster-theme home pages (hee - David, I love that!) called front-page.php. Before it can give us all those fun widget areas to play in, it disables the loop, which is the default way WordPress dumps a bunch of posts on a page.

You'll notice that happens on line 19 in the Executive Pro version of the file:

remove_action( 'genesis_loop', 'genesis_do_loop' );

Depending on what you want to do with your layout in the CSS, you can add the loop back in anywhere you want - inside a widget area or after it as you said you were planning.

Just paste in this line:

add_action( 'genesis_loop', 'genesis_do_loop' );

I think you might try putting it in the home-bottom widget. If the column that results is too narrow, you can widen it in the file style.css.

Hope that helps!

Mary Baum

Sharing the good news about the wonders of web typography and the split-step. Either one should get you moving fast. 😉