Jump to content
Sign in to follow this  

Pagination - Next And Previous For Pages In A Common Category

Recommended Posts


I am sure that I am doing something wrong and the fix here will be super easy, but here it goes.

I have already set up a portfolio page displaying a handful of projects. When a user selects a project, I send the user to that particular project page and from there I want the user to be able to click something like a 'Next' button or perhaps a link with the title of the next project and it take them to the that particular page. Of course I want them to be able to navigate the other way as well with 'Previous'...

I have gone to several of the threads here and followed all the advice I could find.

I have gone to the Drag & Drop seciton and clicked the 'Category' button and then highlighted the 'Content Area' and then dragged and dropped the 'Post/Page Pagination' item into it.

I have set up my pages (note, I am doing this with pages, not posts) under the same Parent page and assigned them the same template.

What am I missing? Do I need to also drag 'Post Info' into the active list?

I notived on the framework demo this functionality is here: http://demo.pagelines.me/layout-test/

I am sure that I am just missing something simple here, but I have spent too much time troubleshooting this.

Thanks in advance,


Share this post

Link to post
Share on other sites

Hello Batman,

Thank you for your suggestion. I will investigate to see if I can do something with this, but I was hoping that I could use some core wordpress/pagelines functionality and simply reconfigure some settings. At least I can keep this in my back pocket if it winds up being my only option.

Thanks again,


Share this post

Link to post
Share on other sites

The pagination, I don't believe, works in WP on a 'category only' basis. Rather, it works, as my understanding is that it works on a posts date basis. So, posts will appear in the date order, even if you add the section to the Category content area type. That doesn't mean it will only pick up posts in the category you're viewing. It just means that when you view any category, the post/page navigation will be on the page.

This might help you: http://wordpress.org/support/topic/how-to-keep-page-navigation-within-posts-category

It refers to a solution that wouldn't work as written in Framework, BUT... if one of our Pros applied it correctly to a unique section for you, that would most likely work. You may want to ask a few of our pros at http://www.pagelines.com/pros

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • Perry
      By Perry+
      I've added the Post/Page pagination section to the bottom of the blog category page on the dev site here (see screenshot): http://dianef.sandboxes.online/category/intention-and-invention-blog/ but it is giving me the message "Post/Page Pagination is hidden or returned no output", and when viewing the page in another browser, I see nothing.
      Does anyone have an idea why this might be?
      Your help is much appreciated in advance.
      Thank you,

    • John Olsson
      By John Olsson+
      Hi, I wonder how I can edit the function pl_pagination in  function.php located plugins > pl-platform > engine > lib without editing the core-file, that will be overwritten from time to time.
      When I place the same code in my function.php located in my child theme, it just gets error.
      What the practice here, to edit that function, I want to replace for ex. "Next Entries" and the arrow to something else.
      This is what the original code looks like:
      /** * * Pagination Function * * @package PageLines Platform 5 * @subpackage Functions Library * @since 5 * * Single posts need to use next_post_link() * Archives can use next_posts_link() * */ function pl_pagination() { if ( function_exists( 'wp_pagenavi' ) ) : wp_pagenavi(); else : ?> <ul class="pl-pager page-nav-default fix"> <?php if( is_single() && ! is_page() ) { printf( '<li class="previous previous-entries">%s</li>', get_previous_post_link( '%link' ) ); printf( '<li class="next next-entries">%s</li>', get_next_post_link( '%link' ) ); } else { printf( '<li class="previous previous-entries">%s</li>', get_previous_posts_link( __( '&larr; Föregående','pl-platform' ) ) ); printf( '<li class="next next-entries">%s</li>', get_next_posts_link( __( 'Nästa &rarr;','pl-platform' ) ) ); } ?> </ul> <?php endif; } // As a callback with nav args associated function pl_menu_callback( $args ) { pl_menu_fallback( $args['menu_class'] ); } function pl_menu_fallback( $class = '', $limit = 5 ) { $pages_out = pl_page_list( $limit ); printf( '<ul class="%s">%s</ul>', $class, $pages_out ); } function get_pl_nav_default( $args ) { $limit = ( isset( $args['limit'] ) ) ? $args['limit'] : 6; $pages_out = pl_page_list( $limit ); return sprintf( '<ul class="%s">%s</ul>', $args['menu_class'], $pages_out ); }  
    • MissT
      By MissT+
      Hi there, does PowerLoop work with the pagelines page / post pagination section?
      All I want to display a grid of 2 columns of posts using PowerLoop and add in pagination after say 10 posts - is this possible?  I've added the page/ posts pagination section and it says 'returned no output'. As a test Powerloop is set to show 3 posts - which it does but there are no page links to see the remaining posts - there are several more than 3.
      Many thanks in advance.
    • Particle
      By Particle
      There doesn't seem to be any pagination on the DMS Framework theme blog, or perhaps I'm missing something simple.
      I thought there may be an issue with the site I'm working on, but then I checked the demo site here and there is no pagination (http://themes.pagelines.com/dms/blog/). Maybe that's just all the posts there are.
      On my site, however, there are many more posts than are being displayed. Is there a way to turn on pagination that I'm missing?
      Wordpress 4.2
      Pagelines DMS Version:
      Any suggestions for me? Thanks!
    • rpacker
      By rpacker
      I just realized that on my individual blog post pages, the pagination is not showing up. it used to indicate the previous and next "name" of the blog post. I am not sure when this happened but any ideas? It's definitely activiated.
      Here is the most recent post:
      Thank you!