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

learn more… | top users | synonyms (1)

0
votes
0answers
132 views

Displaying a Custom Post Type in a Page with Pagination

Im using a professionally developed website theme that has "kriesi’s pagination" already implemented. Anyway my goal is to have a page which contains all the "team" members who are involved with the ...
-2
votes
1answer
67 views

How to add wordpress pagination [closed]

i must use pagination. Where can i found good tutorial? $wpdb->get_results("SELECT * FROM wp_ogloszenia_kupione WHERE klient_id = $current_user->ID");
0
votes
1answer
139 views

Pull Random Attachments With Pagination

I want to make a archive page that pulls in all uploaded images to the site. I am using the current script. Its paginating somewhat but not showing all the images. Showing around 90 out of 140. ...
0
votes
0answers
128 views

Post Filter clearing on pagination $_post

I have a form, in which users can select what taxonomy they want the posts filtered by. It works fine except that it doesn't paginate. When I click on the next page of results, it clears the query. ...
0
votes
0answers
65 views

Loop Navigation Problem

currently I have a loop on my index page which is set to show upcoming posts in ascending order. This is an events listing page. However the pagination at the bottom of my page doesn't work, I am not ...
-2
votes
1answer
107 views

Pagination on custom post type not working

I'm having a hard time getting pagination to work with my custom post type query. The standard "previous_posts_link()" and "next_posts_link();" aren't working. And through a bit of testing, I've ...
0
votes
1answer
98 views

Prev and Next link for splitting single post into multiple pages [duplicate]

I have pagination on my site like this: Pages 1 2 3 4 … and so on. I am doing this by adding <--nextpage--> where i want to split my long pages into multiple pages. I want to add ...
-1
votes
1answer
169 views

Multisite pagination with get_posts

I'm looking for a way to paginate my get_posts : $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( 'posts_per_page' => 5, ...
0
votes
0answers
55 views

How do I paginate posts page with $wpdb?

I am using this to get the posts: (...) if ( empty( $categories_defined) ) { $posts = get_posts($args); } else { global $wpdb; $posts = $wpdb->get_results( $wpdb->prepare( "SELECT * ...
0
votes
1answer
61 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" ...
0
votes
1answer
295 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
1answer
76 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
324 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
83 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
25 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
174 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
393 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
730 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
527 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
257 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
27 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
119 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
79 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
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
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
46 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
36 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
105 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
232 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
104 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 * ...
0
votes
1answer
232 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
1k 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
89 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
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
44 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
604 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
53 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
315 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
54 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
363 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
55 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' ...
0
votes
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
1k 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
331 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
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 ...
0
votes
2answers
233 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
72 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
464 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
48 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 ...