Jump to content

Search the Community

Showing results for tags 'pagination'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 9 results

  1. Hi, 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, Perry
  2. 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 ); }
  3. Hello, I can't understand why I can't see any pagination in here: http://link360.es/es/noticias/ Can you please help me? I have the WP PageNavi plugin installed. Thank you.
  4. Is there way I can use pagination with the grid layout?
  5. Hello, recently had this problem with Jigoshop's shortcode pagination, only happens when the frontpage is set as a static page and the products are placed on this frontpage with Jigoshop's shortcode like this: [recent_products per_page="12" columns="4" pagination="yes"] What happens is, the products appear just fine, but when you click the pagination to go to the next page, it stays on the same page with the url changing to ...page/2/. Not sure if anyone faced this problem as well. I've already posted this on Jigoshop but looks like the only ones who had this problem is due to Jigoshop's conflict with the theme. The strange thing is if I use the shortcode similarly on another page (not the homepage) say ..../anotherpage/, the pagination works just fine. Decided to post here to see if there is anyone facing such situation too. Meanwhile, I've also tried the Woocommerce integration done by Mike Jolley, it is really quite well done, not sure if Pagelines has any plan to swipe that in as well and improve on it. Cos, it's basically ok, but I'm not able to use that as well since the shortcodes don't work too good too. So I'm forced to switch my theme to one from Woothemes instead. Hope to hear anyone's suggestions soon! Thanks!
  6. I would like to paginate my categories, and other listings with page numbers (instead of just the "previous" link. I'm looking at WP-Paginate, but I'm still a bit confused about where to find the php I need to replace and how to do it in the Pagelines framework. For posts pagination. This is what the WP-Paginate pages say - but I don't see these theme files in Pagelines. 1) Open the theme files where you'd like pagination to be used. Depending on your theme, this may be the loop.php file or the index.php, archive.php and search.php files. The twentyeleven theme places the pagination code in functions.php in the twentyeleven_content_nav() function. 2) Replace your existing previous_posts_link() and next_posts_link() code block with the following: <?php if(function_exists('wp_paginate')) { wp_paginate(); } ?> Catrina was working to help me with this in live chat, but I'm still a bit vague on exactly what steps I need to take this work. I'm developing a big antiques website - where chronology (previous post / next posts) isn't releavant, I need numbers! I'd like to make the pagination work on all kinds of pages: searches, categories, view listings, etc. Can you help?
  7. Translating pagination

    Hello, where can I translate only the 'Previous entries' 'Next entries' buttons? The website: http://www.renate-wernet.com/blog/page/2/ Thanks Daniel
  8. 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, Scott
  9. Hi. I'm trying to add pagination to a category page. The only content on the page will be different boxes from the same box set. I would like to show only 15 boxes per paginated page and show the next 15 on the next paginated page and so on. Is there a way to this? As for now the pagination works but I always see only the first 15 boxes over and over again on every paginated page. Thanks.
×