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

learn more… | top users | synonyms (1)

6
votes
4answers
5k views

Pagination resolving to first page only

My pagination is only linking to the same posts that are on my front page. I have 3 posts on my front page, when I press next it goes to /page/2 but only shows the same 3 posts, with no previous ...
3
votes
1answer
3k views

How to display pagination links for WP_User_Query?

I think I'm nearly there with this, but I can't get the pagination links to show for a directory of authors I'm creating. My code is below, but I don't know how to get the links to navigate between ...
3
votes
1answer
1k views

Changing the URL Structure of a Paginated Custom Post

I have a custom post type for slideshows that creates a paginated post and each slide is a separate page. The data for each slide is saved in the custom fields and each slide has a title set saved in ...
2
votes
3answers
5k views

Pagination with custom SQL query

I have my own SQL string to select Custom Post Type posts with specific WHERE clause. I've used the offset and limit to return appropriate posts depending on a page being displayed. That's working ...
1
vote
1answer
330 views

How to implement pagination in backward way eg. first - 20 - 19 - 18 - … - 3 - 2 - 1 - last

How can I implement pagination in backward style, like shown in the title. (newest) first - 20 - 19 - 18 - ... - 3 - 2 - 1 - last (oldest) I have search plugin, there are not yet plugin for this. ...
2
votes
3answers
4k views

paginate_links() adds empty href to first page and previous link

This is really weird. In attempting to solve this problem i ended up with an almost perfect use of paginate_links() instead of a custom pagination function: $myquery = new WP_Query($args); $paged = ...
2
votes
2answers
941 views

Broken pagination

Well I'm here again with almost the same problem as I had in this post three weeks ago, but let me explain what has happened since then: I was originally using one loop to display the most recent ...
1
vote
1answer
712 views

Getting 404 on taxonomy page

i've created a custom taxonomy template for my taxonomy and custom post type, custom post type name is "ecommerce" custom taxonomy is "ecommerce_categories", the problem is with the pagination it ...
0
votes
1answer
3k views

Passing custom args in paginate_links

For example i've domain.com/about?project=1 but i've permalinks enabled and i'm using thins to generate the pagination paginate_links. The proble is that the links generated are like this ...
6
votes
1answer
342 views

post pagination names, not numbers

currently, using <!--nextpage--> on a post pulls just numbers. What I would like is to be able to name each page break, and then call the name instead of just a number. Something like: ...
2
votes
1answer
4k views

Change Posts per page count

In the wordpress settings => Reading => Blog pages show at most [input field] posts I have it set to 3 posts at the moment. On my index, date archives, tag archives, category archives, search ...
2
votes
2answers
2k views

Custom post type archive 404's with paginate_links

im using paginate_links function to create pagination on my custom post type archives, no matter what i do im hitting 404 errors when going to view page 2 (ie clicking to go on one page in the ...
2
votes
1answer
10k views

wp_pagenavi() with custom wp_query()?

<?php /* Template Name: Projects */ ?> <?php get_header();?> <section id="content"> <section id="main"> <?php $loop = new ...
1
vote
2answers
260 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 ...
1
vote
1answer
160 views

Customized title tag for each page in pagination?

With the reference of below questions. How to change title tags on paginated posts? Paginate tags page How to change title tags on paginated posts? Add Page number to Meta Description in Wordpress SEO ...
1
vote
2answers
260 views

Pagination for single custom post type page, using Posts 2 Posts plugin

Is it possible to add pagination to the single.php for a Custom Post Type, such as single-items.php. On this single page, I am using the Posts 2 Posts plugin ...
1
vote
7answers
4k views

Paginate Custom Post Type Page

I created a page for my custom post types. The code can be viewed on Snippi: http://snippi.com/s/e8852rx I'm trying to insert paginate_links, but for whatever reason it's simply not showing up. ...
1
vote
1answer
1k views

add_rewrite_rule and pagination issue

I've got an issue, writing a correct rewrite rule. Basically, here are the examples of the url I want : /myPage/mySuPage Then the same with pagination /myPage/mySuPage/page/3 Then, the basic page, ...
1
vote
3answers
4k views

Custom page-links for paginated posts | wp_link_pages <!--nextpage--> quicktag

Does anyone know if it's possible to change wp_link_pages, so that the title of each nextpage quicktag is used rather than numbers? I can't seem to find anything on this. This is an example of how ...
0
votes
2answers
2k views

Pagination with get_posts seems to work but links not showing

I've a custom page template where I want to query 2 posts from a post type and 1 post from another post type. I have it set up like this: $paged = get_query_var('paged') ? get_query_var('paged') : 1; ...
0
votes
2answers
574 views

paginate function in archive for custom-post-type

I have a custom-post-type for events and use the normal archive.php template to list all previous events. The thing is that I use a custom query for my event-post-type inside archive.php like this … ...
0
votes
3answers
2k views

Query with pre_get_posts to get pagination

After pretty much getting everything working with query_posts, I noticed my pagination wasn't running. I was told pre_get_posts should be the solution. My problems: I don't know how to pass all my ...
0
votes
1answer
782 views

pagination in author.php template returns 404 error

Hi to the community!!! I need some help with pagination in author.php template. I have pagination working in all my loops except in authors.php that i get a 404 error. In my settings/reading i have ...
0
votes
1answer
425 views

Using custom post type as front home page pagination not working

I've searched for days for a solution, scouring the interwebs, including, of course, stackoverflow. I'm using a custom post type as a static home page, but the pagination will not work. When I ...
0
votes
1answer
1k views

Custom Permalinks Break Search Pagination

So I'm having a weird issue that I've never seen. I have a search.php set up like this: $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts($query_string . '&paged=' . ...
0
votes
1answer
397 views

Search results with custom loop don't update when paged

I have the following code in my search results page to split up posts per category. When I go to the 2nd page of pagination, the results are exactly the same as the first. I'm assuming $paged has to ...
0
votes
2answers
3k views

WordPress pagination with custom post type?

I have searched all over the web to find some solution, but none of them are working for me, can someone help me with this and explain what is wrong? I've spent 3 hours debugging and didn't find the ...
0
votes
2answers
1k views

Pagination with custom loop

my question may look like Pagination not working with custom loop, but there is a different. I use the custom loop for display flash game. I want to make a pagination on page games by category. ...
-1
votes
1answer
125 views

Manually Insert Title & Meta Description for Pagination pages?

This is second version of question Customized title tag for each page in pagination? answered by @joostvanhoof . I would like to add customized title tag <title> and different meta description ...
4
votes
6answers
4k views

Get the current page URL (including pagination)

Is there a WP function to automatically get the correct URL of the current page? Meaning if I just opened a single post, the function returns the same as get_permalink(), but if I'm on a paginated ...
2
votes
2answers
79 views

Paginate a list of users?

I'm currently displaying a list of all users using the following code. The only problem is that I need to paginate and only display 10 users at a time. I'm familiar with pagination using CPT's and ...
1
vote
1answer
90 views

Transient pagination not working properly

So I wrote the following to create a transient: $wp_object_i_created = new WP_Query('cat=1'); set_transient('category_one_posts', $wp_object_i_created, 60*60*1); Ok so then I decided "Ya know lets ...
1
vote
1answer
63 views

Paginate tags page

If I click a random tag I want the tag page to list only 20 posts that is related to that tag and paginate it. <?php /** * The template for displaying Tag Archive pages. */ get_header(); ?> ...
1
vote
3answers
424 views

Allow Users to Choose Pagination or Next/Previous (Combine)

I'm building a themes option panel and want users to be able to choose between Next/Previous links or pagination in my archives and homepage. I need help combining the two functions below (pagination ...
1
vote
1answer
2k views

Custom paging function

I use this code for my custom paging : global $wpdb, $table_prefix, $current_user; get_currentuserinfo(); $umail = $current_user->user_email; $paged = $wpdb->get_results("SELECT * FROM ...
1
vote
1answer
1k views

Static front page with recent posts pagination

Is it possible to include index pagination on a static front page? I have a child theme of twenty eleven and I am attempting to have a home page where there is a slider for sticky posts followed by ...
1
vote
1answer
2k views

Pagination on a custom page template

I have set up a custom post type called 'Events'. For reasons that I'm not going to get into, I chose not use archive-events.php as the archive template for my Events. Instead, I decided to create a ...
1
vote
1answer
917 views

Adding Pagination on a Custom Author Page

i have created a custom author's page that list the title of their posts. but the problem is i can't get the pagination to work if it's beyond the set post per page value. i have used get_posts() to ...
1
vote
2answers
888 views

Page navigation within a category

I would like to know why my page navigation within a particular category doesn't work. The code seems correct but I never see the pagination links. <?php $my_query = new ...
0
votes
1answer
46 views

Pagination doesn't function properly for archive of a custom post type set as the front page

I created a similar question about an hour ago but since then I feel that I've changed things enough so that if someone viewed it for the first time, it'd just be a confusing mess. So I am opening up ...
0
votes
1answer
25 views

Add pagination to blog

I want to limit 3 blog entry snippets per page and include pagination for additional pages. Here's what I have so far, but pagination isn't working. <div id="page-content"> ...
0
votes
2answers
139 views

Pagination not working on Custom Page Template

I searched a lot on this but I can't figure out why my code is not working. I published a page with slug "blog" that uses a custom built template "page-blog.php" that I build from editing the ...
0
votes
1answer
92 views

Group list of posts by taxonomy and allow for pagination

There are multiple ways of showing a list of (custom) posts by taxonomy, but none appear to allow for pagination. So, I can easily list all posts like: Page 1 1 2 3 4 5 Page 2 6 7 8 9 10 ...
0
votes
1answer
147 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 ...
0
votes
3answers
211 views

Custom Loop Pagination on WordPress

I'm trying to create a magazine style website. For this particular page (not homepage) I'd like to fetch the latest post and style it one way (style1). For all the other posts I'd like to just display ...
0
votes
1answer
743 views

custom post type paging not working past page 3

I have a custom post type called services which has 23 custom posts, i also have a custom taxonomy for all the categories (5 categories). I am trying to create a list of all the custom posts of ...
0
votes
2answers
2k views

Pagination wont work with search results template [duplicate]

I can't seem to get pagination to work correctly in my search results template. The page links appear, but when i click onto page 2, it gives me a 404 error. Search.php <?php global $wp_query; ...
0
votes
1answer
453 views

List posts based on First letter of Posts

I want add a Pagination [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] .......[Z] Easy Post Title - By Admin on 2013 post content....bla bla bla... Example Post - Another Test ...
0
votes
0answers
95 views

get_query_var('paged') giving same result

I have a custom page, in that page i am using a custom select query for my search functionality. The problem is pagination not working. I used $on_page= get_query_var('paged'); for pagination. When ...
0
votes
1answer
212 views

How to reverse pagination for archive pages?

I would like to reverse the pagination order for the category archives and am wondering if anyone can offer any help. Basically what I am looking for is pagination to start with the oldest post ...