Archived
This topic is now archived and is closed to further replies.

Post/Page Pagination Not Working
By
Perry+, in DMS & Legacy Products
Recommended Posts
-
Similar Content
-
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( __( '← Föregående','pl-platform' ) ) ); printf( '<li class="next next-entries">%s</li>', get_next_posts_link( __( 'Nästa →','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 ); }
-
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.
-
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: 2.1.9.3
Any suggestions for me? Thanks!
-
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:
http://www.randallpacker.com/strategically-wrong/
Thank you!
-
By galegreg
Hi there,
I´m trying to translate into spanish some standard words of Pagelines 2.4.5, and in particular I can´t find the file that contains "previous entries" or "next entries" in order to change the name.
When I go to the pagination.php through Filezilla, in sections, I can not find that anywhere. Also I can´t not find that in index.php or sections.php in edit theme.
I need help, thank you in advance.
Guillermo
-