danaldinho
Member
Posted 2 years ago #
Hey,
On my blog - http://www.youngmoneyhq.com if you look at the bottom left box, it shows you the most recent posts.
I am trying to switch that list to the page 2 posts. This website has what I am looking for - http://necolebitchie.com
As you can see, you have the homepage's posts, then when you get to the bottom, you can see the page 2 posts instead of showing the homepage's posts again.
Does anyone know what the plugin is called which is used for this? Or is it done another way?
Thanks, appreciate it :)
What code are you using to get the most recent posts? If it is query_posts(), try putting this just before the call to query_posts():
<?php $curr_page = (is_paged()) ? get_query_var('paged') : 1;
set_query_var('paged',$curr_page+1);
?>
danaldinho
Member
Posted 2 years ago #
It's a plugin I am currently using.
What is the plugin? Perhaps the author can provide help.
danaldinho
Member
Posted 2 years ago #
I just found out that it's not actually a plugin I am currently using. I am just using the 'Recent Posts' widget.
The only other suggestion I have is to make your own widget from the 'Recent Posts' widget, and that would need some php knowledge.
You could use the query_posts offset parameter to skip over the previous posts.