Community Forums › Forums › Archived Forums › Design Tips and Tricks › Show latest Posts on home page of Executive Pro Theme
Tagged: Executive Pro Theme, Latest Posts
- This topic has 4 replies, 3 voices, and was last updated 12 years, 7 months ago by
soulscaper.
-
AuthorPosts
-
October 15, 2013 at 12:33 pm #66854
soulscaper
MemberHi everyone,
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 #66875David Chu
ParticipantHi,
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
Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers
October 16, 2013 at 11:25 pm #67128soulscaper
MemberThank 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 #67193marybaum
ParticipantThere'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 modern CSS and the split-step. Either one should get you moving fast. ๐
October 17, 2013 at 3:38 pm #67222soulscaper
MemberI didn't know what I was doing, but pasted that line back into the same section and it worked!! Thank you so much!! ๐
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.