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.
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.
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
Thank you for your reply. I have tried that but it comes out as a skinny column and doesn’t display correctly. I think it has to do with the theme. I’ll gladly try any other suggestions.
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!
I didn’t know what I was doing, but pasted that line back into the same section and it worked!! Thank you so much!!
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.