Breaking up content into smaller-sized pages to be viewed individually

learn more… | top users | synonyms (1)

0
votes
0answers
30 views

Make a paginated article (for easier reading on mobile)

I'm looking for some plugin, or perhaps more likely some Javascript package that will make me do something like mobil.idg.se on a phone (select a story, then swipe sideways to read the next part of ...
0
votes
0answers
79 views

URL Rewrite breaks pagination on some permalink structures

i created some rewrite rules for my profile page with multiple tabs. Member and tab names are passed via url to the page template. Everything works fine except for the pagination. When a permalink ...
0
votes
0answers
71 views

Comments orderby comment date not working

I have a template to get the comment replies to a user and display it on a static page. It works reasonably well in so far as the correct comments are displayed but whatever I try I can't get the ...
0
votes
1answer
322 views

Pagination for Pages and Posts

I want to use Pagination throughout a new theme but am having trouble getting it to work correctly. I am using some code within my functions.php file and then calling that function. It works on the ...
0
votes
0answers
122 views

Infinite Scroll Masonry triggered by pagination not working

I'm triggering more posts in my Masonry layout when a user hits the bottom of the page. The JS sends a count each time this happens and I'm using that as my 'paged' argument. However I'm getting ...
0
votes
1answer
57 views

date.php shows all posts. how to fix it?

I am using the following function for category.php. It's working fine. function cat_page_list(){ /* post : returns the post for category page */ $paged = (get_query_var('paged')) ? ...
0
votes
1answer
55 views

Switched from query_posts to wp_query, pagination no longer working

Switching a loop on a static front page from query_posts to wp_query. All is working other than the pagination link (which used to work). Example can be seen live here in "work" section. Here is my ...
0
votes
1answer
59 views

Pagination always adding “Next” link when results come from Custom Post Type WP_query

Or at least that's how it seems. I have a page to which I pass several arguments to query post_meta for a custom field and I always get an extra "Next" link no matter the number of posts. If querying ...
0
votes
2answers
356 views

Stop loading more posts if none left AJAX

I'm using the following JavaScript to load more pages in #work_items (see live at http://mtthwbsh.com): jQuery(document).ready(function($){ $('.older a').live('click', function(e) { ...
0
votes
0answers
42 views

Page/2 in my custom page template throws 404 error

I have a form on that page in where I have used the solution provided at Advanced search form with filters for custom taxonomies and custom fields, that works fine and search results appear OK, but ...
0
votes
0answers
214 views

WP Page Navi Not Working in my Custom Query - Events Page Only

I'm using the same custom wpquery format in my NEWS page. And my pagination uses WP PAGE NAVI plugin. It does work on my NEWS PAGE but doesn't work on my EVENTS PAGE. Plugins used: 1. WP PAGE NAVI ...
0
votes
2answers
33 views

Unable to paginate a custom page query

I have this code on a page called Categories. <?php /* Template Name: Categories */ get_header(); ?> <section id="primary" class="content-area"> <main id="main" ...
0
votes
1answer
91 views

Pagination with Custom Post Type

I created a custom post type named "noticias" and duplicated archive.php with name archive-noticias.php. Everything works but when pagination actived, don't work page 2, 3.... I use plugin "T5 Page ...
0
votes
1answer
434 views

Jetpack Infinite scroll conflicting with theme's pre_get_posts custom posts_per_page

I have the current function on my theme using pre_get_posts, currently right at the bottom of my theme's functions.php file: function mytheme_portfolio_archive_pages( $query ) { if ( is_admin() ...
0
votes
0answers
27 views

Custom post Type Pagination help

i'm wondering how to add pagination like 1,2,3.. on my custom posts listing page. Below is my custom post template which lists all my custom posts, <?php while ( $loop->have_posts() ) : ...
-1
votes
1answer
112 views

Pagination with Custom Post Type not working on index.php: I get a 404

I've read many posts about the same problem but none seems to work for me. I have a query for a custom post into the index.php. When I go to page 2 I get a 404 error. The same code works like a ...
0
votes
1answer
145 views

Jetpack plugin - 'posts_per_page' not overriding 'Blog pages show at most' option, also different values for different post types?

I have Jetpack installed and I have got Infinite Scroll working on my theme but posts_per_page is having no effect, the number of posts initially shown and loaded is my "Blogs show at most" number in ...
1
vote
2answers
255 views

wordpress Static Page pagination

Im Using a post query in wordpress BUT the Pagination is not working, i don't know whats the problem BUT here is my code and i guess it's correct and no problem with it it shows that there is pages ...
0
votes
2answers
234 views

Custom wp_query pagination - next_posts_link() or wp_pagenavi() always empty

I'm aware this is a topic discussed to death, but I have read through many solutions and can't understand why my pagination simply isn't working. I have a very simple custom wp_query: $current_page ...
0
votes
1answer
629 views

Custom post type archive page pagination

I have set up an archive page for my custom post type reference, where I use a query to get all posts of type reference. This works, but when I try to paginate the result, it doesn't work. Right now, ...
0
votes
1answer
152 views

How to customize wp_link_pages()

Does anyone know how to customize wp_link_pages() so that <!--nextpage--> will show like "<< previous" and "next >>" links instead of "Pages: 1 2 3 "? Note:- i used ...
-1
votes
1answer
35 views

Limitless amount of posts in custom archive page

I want to get rid of pagination completely on my custom archive, I want everything on 1 page. How can I do this? Currently I'm getting my posts with: <?php query_posts($query_string . ...
0
votes
0answers
77 views

Custom query, static page pagination and canonical

We have a custom query used in a template file, which is a page builder, with pagination that query latest posts. The problem is with Yoast SEO plugin and it's canonical URLs. When we navigate to any ...
0
votes
2answers
1k views

Changing pagination list class

paginate_links() function returns unordered list with class named "page-numbers". How can I change this class? EDIT Currently, I am using the band-aid method below. $return = paginate_links( $arg ...
-1
votes
1answer
57 views

how to apply Pagination on post

My English is bad so sorry for that ,I want to apply Pagination to my blog page ,I want to display 3 post on page then want to apply Pagination . thank you
0
votes
0answers
181 views

help in applying pagination retrieve the data from database

I'm following the tutorial here http://wpengineer.com/2426/ on how to apply pagination in wordpress. Now he said "As pointed out in the comment the array_slice is only necessary because we use sample ...
0
votes
1answer
754 views

JetPack Infinite Scroll not working on custom theme

I have a custom theme where I've tried to integrate the Infinite Scroll option within JetPack. Per this article, I've added the following code to functions.php (in addition to activating the module) - ...
0
votes
0answers
233 views

Woo Commerce Pagination

I am want to create pagination in product page,after 7 product i will show the pagination in above the product and below the product.so let me know on which page i should have hook in and how. Thanx ...
-3
votes
1answer
74 views

Newer/Older posts links display same posts on every page

I am using a plugin called "Types" to generate custom post types for drink/food recipes. I want to show booth drink and food recipes on the same page. The posts are displaying fine, but for some ...
0
votes
1answer
136 views

How to paginate a list of child pages

I am using the following code to list the child pages of the current page being viewed. But it only outputs the last 5 child pages; i want it to list all pages in blocks of 5 with "next" and ...
0
votes
1answer
176 views

Customise wp_List_pages to output a UL LI

I am trying to get my pagination for posts outputted as a list. ie: UL > LI > A. <?php wp_link_pages(); ?> I see that I can add a UL easily enough by editing the $defaults but I cannot seem ...
0
votes
1answer
34 views

Comments Pagination as an unordered list

I am currently using <?php paginate_comments_links(); ?> to display comments pagination. How can I customise this so that it uses a UL and LI? (Such as is possible with custom post pagination). ...
0
votes
0answers
103 views

Wordpress pagination error - next page giving 404 error

I have following codes to list all attachments with pagination, <?php $paged = (get_query_var('page')) ? get_query_var('page') : 1; $args = array( ...
0
votes
1answer
76 views

Pagination not working with custom wp_query

I am trying to make a custom search plugin but pagination does not work (it shows up with the correct number pages but does not function properly). Relevant part of the search plugin (from the main ...
0
votes
2answers
268 views

Should $found_posts be returned as string in 'found_posts' filter hook?

In general a function that hooks into the found_posts filter looks like this: add_filter( 'found_posts', 'adjust_offset_pagination', 10, 2 ); function adjust_offset_pagination( $found_posts, $query ) ...
0
votes
1answer
269 views

paging is not working properly on news archives page [duplicate]

I need paging on news archives page. Data is coming correctly if display all records on same page. But if i add paging code, then pagination values (such as 1,2,3,...16) coming correctly, but if i ...
0
votes
1answer
177 views

What is wrong with this pagination code?

I'm trying a new approach to paginate posts returned in a category.php file. I want to see snippets of 10 posts at a time. Filename is category-xyz.php and this worked before I changed to this method, ...
4
votes
1answer
428 views

Different 'posts_per_page' setting for first, and rest of the paginated pages?

How do you set the posts_per_page query setting so that a different number of posts are displayed on the first of the paginated pages (of home, archive, search, etc.) and the rest of them? For ...
0
votes
0answers
24 views

Pagination to take load off server [duplicate]

I have a Wordpress powered site that has >2000 posts. For some menu items I am requesting a category page that pulls in up to 200 posts in that category. It presents snippets of the post with an ...
1
vote
0answers
40 views

make a pagination that show posts by date

i dont know if this is right question or not . but what i want to do is that , i need to create a pagination that show posts by date . i know the regular pagination is like this first-page - 22 - 23 ...
1
vote
1answer
557 views

How to paginate attachments in a secondary query as gallery?

I have this code that shows all images attached to my post-type. Is there a way to paginate those? I have like 25 pics and I wan't to avoid scroll as much as I can. Code: <div class="galleries ...
0
votes
0answers
12 views

navigation issue [duplicate]

I have an issue with navigation in category.php. Navigation is generated, the problem comes up when I click on the link (2 or Next) to navigate to the Next page of result. I get the 404 page instead ...
0
votes
0answers
7 views

paginate_links issue with keyword search results [duplicate]

I am using paginate_links but it is building the URL in the wrong order when on a search results page with a keyword. Because of the structure of my site I am using GET for the search with a custom ...
0
votes
1answer
122 views

how to show posts on different pages if number of post per page is one

i have a category named "services". when "our services" is clicked control go to category.php file. in that i need to show all the posts in that service category. i can show all of them in a single ...
0
votes
1answer
168 views

foreach pagination

I am looking for help in how to paginate my foreach output. I've looked at other questions and answers and cannot find a solution that works for me or that I can figure out on my own. Right now my ...
0
votes
1answer
121 views

tax_query does not work with pagination with custom query (both wp_query and query_posts())

I am using custom query for advance search with custom taxonomy .My pagination work well when does not use 'tax_query' .When I use 'tax_query' it does not show any post to next page and just show my ...
0
votes
0answers
35 views

Multisite wordpress search loop and pagination?

OK I have a wordpress custom loop looping across 3 blogs and returning the results like so: <?php $posts_per_page = get_option('posts_per_page'); $searchfor = ...
0
votes
0answers
18 views

Pagination broken at search results page [duplicate]

Common problem, yet this time I can't seem to figure it out: the pagination at my search.php is not working, it sends me to the index page the moment I click on "page #" My search.php is set up like ...
-2
votes
1answer
40 views

Custom template pagination

I have a custom post type "news". I created the page "News" with the id 55 and a custom template file. I want to implement pagination. The problem is when I access the news with a page number set I ...
0
votes
0answers
11 views

Pagination in get post of custom post type [duplicate]

I tried to add the pagination in get_post in the following method <?php $paged = get_query_var('paged') ? get_query_var('paged') : 1; $the_posts = get_posts(array('post_type' => 'image', ...