Community Forums › Forums › Archived Forums › Design Tips and Tricks › How do I add a "Older Posts" link on bottom of Metro home
Tagged: older posts/previous entries
- This topic has 9 replies, 5 voices, and was last updated 9 years, 11 months ago by bishermes.
-
AuthorPosts
-
June 26, 2013 at 11:10 pm #47970juliegummMember
I'm using the Metro theme exactly like show in the demo (http://demo.studiopress.com/metro/). I have my 3 featured areas and then the 4th area (home bottom widget) I used the featured posts widget to add all the recent blog entries excluding the 3 features. So basically a "Recent Posts".
Is there a way to add just a text link underneath the last one (aligned left) that says Older Posts. My home bottom widget displays 6 posts so ideally the Older Posts page would link to an archive type page that started with the 7th post.
(I'd link to my blog but it's on a hidden development server.)
Thanks
June 27, 2013 at 6:18 am #47999SusanModeratorAt the bottom of the Featured Post Widget, check the box which says "Show Category Archive Link", and then type in the text link.
October 3, 2013 at 11:53 pm #65316lyonMemberAt the bottom of the Featured Post Widget, check the box which says “Show Category Archive Link”, and then type in the text link.
It seems that it only works if I pick a Category rather than using the "All Categories"? I would love to do this too (at the moment I'm using a plugin to display the home page in 2 columns + pagination)
May 3, 2014 at 3:44 am #103427BabsSaulParticipantI need to find a solution to this too, so if anyone has managed a neat way to show older posts, please share.
I'll get testing things too and add whatever I find here.
May 19, 2014 at 10:41 am #105881bishermesMemberI can't find out a solution for this issue, "Show Category Archive Link" option shows the recent posts also, not just the older posts.
Is there any way to show only the older posts. I want the recent post only in the home page, not in the Category Archives Page.
I will appreciate any help.
May 19, 2014 at 11:07 am #105884BabsSaulParticipantI'm going to figure out a solution as there are a few themes for which this will be useful. I do love the widgetised home page but we need the option to then go to the other blogs...
May 21, 2014 at 4:49 am #106145BabsSaulParticipantTo achieve this without coding, here's what I did:
Create a Blog page, with the Blog Template.
View this page, scroll down and go to the Next Page link - you want that link.In the Widgets section, in the Home - Bottom widget, add a Text widget. Into this paste the code to go to that second blog page. For instance:
<p style="text-align: right; font-size: 14px;"><a href="http://www.domainame.com/blog/page/2">Next Page »</a></p>
And that pretty much covers it - the styling above is so that it matches the blog page links. I also had to match the number of blog posts showing to whatever the home page includes.
Hope that helps. I know it could be coded into files, etc, but the above is a quick solution.
May 21, 2014 at 4:51 am #106146BabsSaulParticipantTo achieve this without coding, here's what I did:
Create a Blog page, with the Blog Template.
View this page, scroll down and go to the Next Page link - you want that link.In the Widgets section, in the Home - Bottom widget, add a Text widget. Into this paste the code to go to that second blog page. For instance:
<p style="text-align: right; font-size: 14px;"><a href="http://www.domainame.com/blog/page/2">Next Page »</a>
And that pretty much covers it - the styling above is so that it matches the blog page links. I also had to match the number of blog posts showing to whatever the home page includes.
Hope that helps. I know it could be coded into files, etc, but the above is a quick solution.
May 21, 2014 at 5:01 am #106150BabsSaulParticipantHere is what I did:
Create a Blog page, with the Blog Template. View this page, scroll down and get the link for the Next Page.
In Widgets, add a Text widget to the Home - Bottom widget. Into this paste the code to go to that second blog page.
And that pretty much covers it - add styling so that it matches the blog page links. I also had to match the number of blog posts showing to whatever the home page includes.
Hope that helps. I know it could be coded into files, etc, but the above is a quick solution.
May 24, 2014 at 9:26 am #106607bishermesMemberInteresting workaround BabsSaul. What I don't know is what you mean when you say
I also had to match the number of blog posts showing to whatever the home page includes.
What I have done is to add a custom field with the query_args parameter in that blank Blog page with the blog template (old posts page). And using the query_args parameter is how I can skip all posts in the homepage and show in that Blog page posts from an specific category. Unfortunately this requires to change post category each time you want to move a post from the home page to the 'old posts' page.
At least is a solution to avoid repeated posts in the old posts page 🙂
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.