October 15, 2013 at 12:33 pm #66854
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.
Thank you!http://soulscaping.com/October 15, 2013 at 3:01 pm #66875
David ChuParticipantPost count: 1408
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 DesignersOctober 16, 2013 at 11:25 pm #67128
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.
Thanks!October 17, 2013 at 1:24 pm #67193
marybaumParticipantPost count: 132
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!
Be it ever so run down, there’s no place like FriendFeed.October 17, 2013 at 3:38 pm #67222
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.