Community Forums › Forums › Archived Forums › Design Tips and Tricks › Beautiful Theme – How to Customize "Latest Posts" section on home page?
Tagged: beautiful 411 home posts
- This topic has 11 replies, 5 voices, and was last updated 9 years, 5 months ago by filipvisic.
-
AuthorPosts
-
November 15, 2013 at 7:13 pm #73322littlecrownMember
I'm redesigning my site with the new Beautiful theme, which I'm loving. However, I cannot for the life of me figure out where to tweak and customize the "Latest Posts" section on the homepage. Is there some file other than functions.php that contains this info?
Specifically, I would like to:
*remove post meta
*add a headline above the section (e.g. "Our Most Recent Posts")
*have a category feed rather than just latest posts (i.e. feature posts from the category "Recipes" rather than the most recent posts)Considering everything else on the page is an easily customized widget, I'm surprised this one isn't as well (such as it is on AgentPress)
Thanks so much!
dev.nourishingjoy.com
http://dev.nourishingjoy.comNovember 15, 2013 at 7:55 pm #73327Erin UlrichParticipantTo make the changes you're talking about, I would suggest creating a custom page template for the home page.
Erin Ulrich | Genesis Recommended Developer | Design by Insight
November 15, 2013 at 8:30 pm #73333littlecrownMemberHmmm... that's a good idea. Well, short of hiring you to write that page (I'm a very slow coder and your work is always so gorgeous!), could you help me figure out just how to remove the post meta on that section? I want to keep the post meta on the posts themselves - I just don't want it on the front page.
THANK YOU!
December 14, 2013 at 11:04 pm #79184ep_alex_henleyMemberIt seems strange to me that Erin or someone else wouldn't just point folks in the right direction. Surely there is place where the code lives that we can just comment out blog posts on the front page... right?
And Littlecrown is right - it's strange this theme doesn't allow full customization of the homepage, like any other Genesis them I've used. Is it a trade secret? Or are you afraid that we'll break the code? Seems like a simple enough answer for anyone that knows where to look? Just a file name would help!
Please give a little direction on where to track down this hidden code. We've been trained to expect a certain level of excellence from genesis. I hope this remains to be earned.
December 15, 2013 at 1:08 am #79202Brad DaltonParticipantYou can remove the post meta using PHP or CSS code:
Source http://my.studiopress.com/snippets/post-meta/
.home .entry-meta { display: none; }
December 15, 2013 at 1:48 am #79208ep_alex_henleyMemberThank you, Brad! It was a little trickier, but you got me started in the right direction. You rock!
December 15, 2013 at 3:20 pm #79287ep_alex_henleyMemberActually... That did not work. A.) I see nothing like the code you sent in any of the theme's or genesis' folder. B.) There was also nothing lie this in the css.
.home .entry-meta { display: none; }
I did find some classes that allowed me to remove the posts from the front page, but I later realized that it also removed page content from each page.
I really don't understand why the themes are made this way now? You could add posts with a ton of customization with some of the older themes. That was great!
Any more help would be appreciated. (BTW, I'm experiencing this in the new 411 theme as well.)
December 16, 2013 at 7:06 am #79442Erin UlrichParticipantI apologize for not replying again here before. Somehow I missed it!
The code snippets that Brad gave you are to be added. The first code would go in your functions.php (and it is listed in the code snippets, http://my.studiopress.com/snippets/post-meta/), as Brad mentioned, or the second can be added to your style.css.
Erin Ulrich | Genesis Recommended Developer | Design by Insight
December 16, 2013 at 7:15 am #79448Brad DaltonParticipantThat's right. Thanks Erin and they both work as i have tested them locally.
December 16, 2013 at 7:17 am #79449Erin UlrichParticipantThanks, Brad. Certainly wasn't trying to jump in the middle of your answer, but just wanted to reply since I realized I had not responded before when I should have! 🙂
Erin Ulrich | Genesis Recommended Developer | Design by Insight
November 2, 2014 at 1:31 am #130144filipvisicParticipantIs there a simple way to just remove recent posts from homepage completely?
November 2, 2014 at 2:39 am #130152filipvisicParticipantTo answer my own question:
<?php /** Removing Blog Post From Home Page */ remove_action( 'genesis_loop', 'genesis_do_loop' ); add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content' ); genesis(); ?>
Of course, don't forget to put this into home.php file and upload it to theme's folder, next to index.php 🙂
Also, '__genesis_return_sidebar_content' (left sidebar) can be replaced with '__genesis_return_content_sidebar' (right sidebar).
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.