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

learn more… | top users | synonyms (1)

0
votes
1answer
77 views

Archive template for custom post type only lists first 10

Here is my template for archive-people.com: It currently only shows the first 10 people. I'd like it to show everyone, not just the first 10 people. <?php get_header(); ?> <div id="content" ...
1
vote
1answer
350 views

WP_Query Pagination on multiple-loop page breaks WP or doesn't show up

The loop below is one of several on a Custom Page template, but it's the only loop that I'm trying to implement Pagination with. Once I have Pagination working for this one loop, I'll be implementing ...
0
votes
2answers
101 views

Why is a rewrite rule in wordpress prevent pagination?

I have a custom page that uses a rewrite rule. The "non-pagination" rewrite works fine: add_rewrite_rule( '^brand-list/([^/]*)/([^/]*)/?', ...
0
votes
1answer
447 views

Archive Page for Custom Post Type is not Working

I have registered a custom post type "tutorials" with the following snippet. <?php /* Template Name: Tutorial Archive */ get_header(); ?> <div id="content"> <div ...
0
votes
0answers
87 views

Can't get pagination to work

I'm trying to create pagination on a blog post page where one page displays 13 blog posts and then displays some links to go to another page. Now just to get it working, I'm using this code: <?php ...
1
vote
1answer
28 views

How do you turn on comments for only the last page of a paginated post?

I have a single post with page breaks, but I only want to show comments and the ability to comment on the last page. Is this possible with WordPress?
0
votes
1answer
199 views

Pagination issue in archive.php

I can´t get works fine the pagination in archives for wordpress when i want limite the posts by page , if i let pagination by default as 10 from backend i haven´t problems but if i use this no works ...
0
votes
1answer
421 views

Prev/Next Links Broken on Static Front Page Pagination

I've taken the example straight from the codex on this one, and my pagination is broken. Here's the codex page I copied/pasted the code from: ...
1
vote
2answers
1k views

Pagination of RSS2 feed

How to have pagination of RSS2 feed ? My current RSS link is similar to : http://www.example.com/?feed=rss2 I tried: http://www.example.com/?feed=rss2&page=2 But WordPress still returns me ...
0
votes
1answer
635 views

Show single post then all posts (with pagination)

On my single.php I would like to show the single post then list all the posts with a pagination. I use the following code: <?php while ( have_posts() ) : the_post(); ?> <!-- Show single ...
0
votes
0answers
317 views

Infinite scroll repeats posts in custom loop in single.php

I'm feteching recent posts with infinite scroll in single.php. My single.php code looks like: <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> ... <?php endwhile; /* end ...
-1
votes
1answer
32 views

margins in between pagination links [closed]

Any ideas how I could increase the spaces between the pagination links on my site? http://guvno.com/ I'm guessing adding some padding code to the custom.css maybe? I'm a beginner. Thank you for ...
0
votes
1answer
133 views

Intercepting $_GET variable from custom pagination

I have a custom pagination using a form with the get action so I can have a page jumper box. Everything works until you enter something that is not an actual page. Examples are negative numbers, text ...
0
votes
0answers
82 views

Reverse pagination issue

I installed the Default Sort Ascend plugin for Wordpress because I needed the opposite of how Wordpress displays its posts. It works awesome except for the pagination. Now the Previous and Next ...
0
votes
2answers
3k 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
0answers
8 views

Paginate template name

I want to make pagination for posts. I am using posts_nav_link() in my archive.php to make links to previous/next posts and first ten posts are shown well. However when I click on newer posts link, ...
0
votes
1answer
50 views

How to grab a specific page of content from paginated post?

In my case I've got to create articles where each article has a custom, unchanging "header" part far too rich for the title and the excerpt (it's to contain image, media etc), and then a few different ...
0
votes
0answers
73 views

Pagination problem - multiple loops conflict with wordpress default Post per Page [duplicate]

I have created a Custom Post Type (named: item) and two loops in that. First for showing Stickies, and second for other posts. My code works fine with this but: I want to show 16 of them on each ...
0
votes
2answers
42 views

Pagination on WP_User_Query not updating current page

I have the following code which queries for all users (excluding admin) and sort them by the meta value user_business. When there are more than 10 users I have pagination which is currently working ...
0
votes
2answers
136 views

Pagination for event query

I'm working on a WP_Query using the Modern Tribe Events Calendar My problem is with pagination. Is this the incorrect way to paginate the WP_Query or could there be another method for paginating the ...
1
vote
1answer
301 views

Show post count in wordpress instead of page count in wordpress pagination

Iam using wordpress numbered pagination function, it works good I have around 800 posts on homepage, every page i show 8 posts. So when the user clicks on pagination i want to show 1-8 of 800. 1st ...
0
votes
0answers
123 views

Paginate Links not working

For the life of me I cannot get Paginate links to display pagination, but using 'userp' in the url works for paging. I just need the links to show up. <?php /** * @package WordPress * ...
1
vote
1answer
290 views

Pagination on with query_posts in custom post type template

I know there about a thousand pagination issue questions on here, and I've looked at them, but I can't seem to figure out what's going wrong with mine. This is a loop on a custom post type archive ...
1
vote
1answer
2k views

Wordpress Pagination Not Working - Always Showing First Pages Content

I am working on a website where I have a blog but I also have a custom post type to allow me to drop in some videos. I would like to use pagination so that if there are more then 9 videos displayed, ...
0
votes
0answers
95 views

Ordering Custom WP_Query loop by meta key value with pagination

I am trying to Order custom post type results by a meta_key value with pagination. The pagination is working fine and I suspect I can't use the same $args that I am using with my new WP_Query in my ...
0
votes
1answer
513 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
46 views

Pagination is not working, how to trace it properly?

Suddenly a website of my own started to doing this: pagination links jumps homepage, www.mysite.com/page/2 >>> www.mysite.com Pagination generator works correct, but WP wont show, How to ...
0
votes
2answers
774 views

How to adjust found_posts so that it accounts for offset and pagination

So far this is the code I have in my index.php file: <?php // Custom code to offset posts and setup pagination $page = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1; ...
0
votes
1answer
59 views

One post on frontpage and an archive page

I'm developing a theme using the underscores starter theme and I'd like to have a frontpage with just the last post and pagination, and then a separate page, with the "archive" slug, to show all posts ...
0
votes
0answers
363 views

Get Previous/Next Post ID for Posts in Same Category

I want to dynamically retrieve the post thumbnail in a modal pop-up using custom prev/next navigation. I need to retrieve the next and previous Post ID based on whatever Post is currently showing. ...
0
votes
1answer
56 views

Pagination 404 on Index with custom query

On my wordpress index, I use a custom query: $paged = (get_query_var('page')) ? get_query_var('page') : 1; $project_query = new WP_query(array( 'post_type' => 'project', 'paged' => $paged, ...
-1
votes
2answers
424 views

Pagination For Table Rows on a page?

Please See Attached Image Below In Comment I am using a table to display content on my page. I am using the twenty eleven theme. I would like to limit the number of rows on the page. i created a ...
0
votes
2answers
58 views

pagination for blog landing page

I have a blog page at: mysite.com/blog. On this page I have this loop: <?php $args = array ( 'pagination' => true, 'paged' => 'pages', 'posts_per_page' ...
1
vote
1answer
2k views

get_query_var function not working at all

Yes, there are some similar topics about this function, get_query_var('paged') giving same result blog posts sorting doesnt work while using get_query_var I am using wordpress3.5, I have my own php ...
0
votes
1answer
2k views

Only show Previous & Next button in Pagination

I'm trying to alter the pagination of WP so that it shows ONLY a Previous and/or Next button, and NOT the pages in between. Using this snippet from the Codex: <?php global $wp_query; $big = ...
0
votes
2answers
380 views

Pagenavi pagination via wp-query in functions.php showing same content for each page

I've recently had a lot of help creating an upcoming events list (see here Showing upcoming events including todays event - StackOverflow), as a result my pagination using wp_pagenavi() is broken. At ...
2
votes
2answers
88 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 ...
0
votes
2answers
264 views

how could I get the pagination as I want to when query posts using get_posts function

I am using WP3.5, and I have a post_list.php which will show all the posts order by post date DESC. Everything is ok except pagination. I have 15 posts, for test purpose, I want to every page show 2 ...
0
votes
1answer
79 views

“paged” in WP_Query returns 0 posts

If i don't supply a paged value (get the first page), it works. But when i try to get the next page by doing paged => 2 it doesn't find anything even though there are plenty of posts to get. ...
0
votes
2answers
579 views

paginate_links() outputs extra empty pages on custom loop

I have a custom loop: $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $works = new WP_Query('category_name=work&posts_per_page=9&paged=' . $paged); Pagination outputs 3 ...
-1
votes
1answer
53 views

Same posts within a paginated page

I have a specific template that displays only posts from a category (350). When I paginate my posts, the posts stay the same. Below is some code that makes up this template. Any ideas how to correct ...
1
vote
1answer
366 views

Pagination on Custom Post Type: 404 Error

I've been getting a 404 error on a CPT archive page, and am not sure why. I can go to the page set for the custom post type archive, but the next page /mycustomposttype/page/2 gets a 404 error. I ...
0
votes
1answer
119 views

Automatically adding a link to the next page link before '<!--nextpage-->' tag in posts?

I'm using the following snippet to automatically break a too long post into multiple pages function filter_more_with_nextpage( $content ){ $content = str_replace( '<!--more-->', ...
0
votes
1answer
83 views

Pagination posts. Url format

i'm using pagination for very long posts. So i have a problem here. I'm not happy with standard utl structure (where is couple personal reasons for that in my project). For example, i have post ...
0
votes
1answer
287 views

get_next_posts_link() stops displaying at page 4

Please start by taking a look at this quick video: http://www.screenr.com/8vSH The problem: get_next_posts_link() disappears on page 4. That is, the "go to older posts" link disappears once I am in ...
0
votes
0answers
33 views

homepage olderposts link showing page not found

I am using WordPress 3.5.1 version, now I had a problem with olderposts link present at bottom of homepage. it is ok with rest of the category pages. I am working on this problem since last two days, ...
0
votes
1answer
27 views

Why is my pagination showing up?

I have the following code, Assume this code spits back one post. the page displaying that post will also display pagination. Why? It shouldn't. This code only queries for posts that belong to the post ...
0
votes
1answer
3k views

How to display a paginated list of posts from one category on a page? [duplicate]

I'm trying to use the code from this page: Display Blog Posts on any Page (with navigation) http://digwp.com/2013/01/display-blog-posts-on-page-with-navigation/ My goal is to make pages that display ...
0
votes
2answers
333 views

Paginate pages with dynamic query

I have a wordpress page that has a series of listings and a searchbox at the top. The search allows the user to filter posts by creating a custom WP_Query object based on what they selected. I am ...
0
votes
2answers
197 views

Custom post pagination trouble

I do have a problem with a custom post pagination. I search through this site and googled the whole day yesterday, and found nothing that was similar to what I experience (or I'm getting blind...). ...