Paginated Posts in b2++

Minor b2++ update here but it’s a good one for those of you with lots of content. b2 always had a “Previous Page/Next Page” function but I never enabled it in b2++. This morning I fixed that so to activate it do the following:

  • Go into the Options page and change “Show XX days/posts” to “Show XX posts paged” where XX is some number.
  • Add the following code to your blog template: {$posts_nav_link}. I’ve put mine instead a blockquote tag but you can do what you like to style the links.

Next up is a Smarty function that takes as parameters a b2 function name and parameters to make it easy to call original b2 functions.

By Donncha

Donncha Ó Caoimh is a software developer at Automattic and WordPress plugin developer. He posts photos at In Photos and can also be found on Twitter.

1 reply on “Paginated Posts in b2++”

Leave a Reply