Community Forums › Forums › Archived Forums › Design Tips and Tricks › Make home page and archives distinct
- This topic has 5 replies, 2 voices, and was last updated 10 years, 9 months ago by Brad Dalton.
-
AuthorPosts
-
July 17, 2013 at 1:17 am #51100AZChasMember
I'm porting my MT blog to WP, so I'm still learning. For each of my posts, I have created my own 1 or 2 sentence synopsis that I've loaded in the post excerpt field. I'd like my archive pages (e.g. a page listing all posts of a particular category) to show the title and this synopsis for each post. But, I'd like the home page to show the auto-generated excerpt of the first 250 characters or so with the read more link for each of the recent posts.
I don't know how to make the home page different from the archives. I'm using the Prose template, and when I set the theme settings to "display post content" with a limit of 250 characters, that happens on both the archive and home pages. Likewise, if I set it to "display post excerpts" it works, but on both home and archive pages. I suppose I need to figure out how to make a custom index.html page, and perhaps this is what a landing page would do for me?
Any advice on how best to accomplish this would be appreciated. Thanks.
July 17, 2013 at 5:21 am #51122Brad DaltonParticipantJuly 17, 2013 at 9:13 am #51144AZChasMemberHi Brad. Thanks, that's a neat feature that I might put to use, but it isn't my issue. Let me say it differently. The Genesis Theme Settings page has an attribute you can set called "content archives," and the first thing you can set is a choice between "display post excerpts" vs "display post content." This is a global setting. I don't want it to be global. I want to be able to use the display post content attribute on my home page, while using the display post excerpts attribute on my archive pages.
So in your single-category example, I want that page to show post excerpts. But when a visitor lands on my home page, I want him to see content, not excerpts.
The Genesis Responsive Slider manages to do this because within the widget it lets you choose whether to show content vs excerpts independent of how you have set the global theme content archives setting. But I'd prefer plain, vanilla text on my home page instead of the slider.
Any thoughts would be appreciated.
July 17, 2013 at 9:44 am #51148Brad DaltonParticipantSaw this question last week here but cannot remember the answer sorry.
I tested this and it works on the home page but effects the archives by removing all the text.
Hope that helps a bit otherwise maybe a custom loop template for the home page would work.
You'll need to choose experts under Genesis > Theme Settings > Content Archives.
July 17, 2013 at 8:18 pm #51249AZChasMemberThanks again, Brad, but that's not quite it, either. Here's another post asking the same question, and it looks like no one has figured it out yet:
By the way, I've made use of your blog page single category hack and I like what it does. Thanks.
July 18, 2013 at 7:19 am #51294Brad DaltonParticipantYes. Saw that and haven't worked out a solution yet however i know it will come at some stage.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.