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

learn more… | top users | synonyms (1)

0
votes
1answer
66 views

Paged within a custom content type template [duplicate]

I'm having a huge problem a custom query within a custom post type template with regards to pagination. For some reason, the previous post, next post links are showing blank. If I do ...
0
votes
1answer
119 views

Storing query variable and then using wp_reset_query

I want to use a pagination function with a custom posts query (to get posts from a specific category). My pagination function gets the query from global $wp_query; So in the following code I have ...
0
votes
1answer
427 views

problem with pagination in custom permalinks

I have set custom permalinks: /%category%/%year%/%monthnum%/%day%/%postname%/ When I use the following url: http://revelutions.com/sandbox/one/2013/08/30/ works fine. However, when I click on the ...
0
votes
1answer
122 views

pagination custom post type on CP page

I know that there are a lot of topics on this question and I've read a lot of them and tried different things. But pagination is still not working. I think it has something to do with the permalink ...
0
votes
0answers
85 views

External Ajax pagination?

I am using the following code to display posts on my HTML and CSS site. <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> ...
0
votes
0answers
1k views

pagination broken - clicking next displays “page not found”

I'm a newb at Wordpress, but my HTML/CSS is ok. My site is: http://www.modernfuture.net/wordpress been working on it this for quite some time & I'm done with the headaches, need to get some ...
0
votes
1answer
52 views

How can i list all user registered on my website and have pagination [duplicate]

How can i list all user registered on my website. If i have 300 users, i want to list only 10 on a page and list next 10 on other page.. I want the user to have an image I want to list post added ...
0
votes
1answer
817 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
1answer
101 views

Pagination for user list

I am showing all the users by using the get_user() function. But I need to paginate the results. I tried a lot, but didn't succeed. Here is the code, which doesn't work as expected: $args = array( ...
0
votes
1answer
112 views

WordPress: Getting “Newer Posts” and “Older Posts” links on a Specialized Page Template

I am using a Specialized Page Template to display list of posts. I am using the following code for that: <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( ...
0
votes
1answer
171 views

All blog posts are not showing up

This post may already exists but I just missed it in how I searched for it. Here goes. I have recently changed my blog back to the Genesis Framework. I am using the Nameless child theme. These are my ...
1
vote
0answers
212 views

Custom post and category template pagination problem

I have a category template which holds a query to custom post with a category. The strange thing is when the pagination loads it displays how many pages we have. But when I click on the second page of ...
-1
votes
1answer
40 views

Link to page in category

I want to link to an archive page in WordPress, so like: <a href="<?php page( 2 ); ?>">link</a> so if a for example a category page is shown, this link needs to go to the second ...
0
votes
1answer
91 views

Removing template part when not on homepage if / else

Thank you in advance for any help! What I am trying to do is remove a template part from my home page after the user clicks on the pagination links from the posts, right now my template part serves as ...
-1
votes
2answers
1k views

Achieving pagination with `query_posts`

I'm using query_posts to build a list of posts from a single category, and I'm trying to add pagination to this setup. Here's my code: <ul> <h1><?php the_title(); ?></h1> ...
0
votes
1answer
1k views

next_post_link() not working for single custom post type post

I can't for the life of me get this to work - this is the code in my single-osu_work.php file which is used for this post type, but I can't get the next and previous post links to appear - can you see ...
0
votes
2answers
691 views

max_num_pages says 4, yet I am only able to navigate to the third page

Current query: if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } else if ( get_query_var('page') ) {$paged = get_query_var('page'); } else {$paged = 1; } $args_main = array( ...
1
vote
1answer
280 views

Fetching more posts in Wordpress via AJAX

What's the best way to fetch the next page in post archives and other lists like search results? This question has been asked many times already, but the answers not good enough for me. So far, I've ...
0
votes
1answer
398 views

Custom Homepage Pagination using WP_Query

I have a situation and all the searching I've done hasn't led me to a successful outcome. I have a static homepage template with a custom wp_query that looks like the following (which works on another ...
-2
votes
1answer
70 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
142 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
134 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
68 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
115 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
110 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
179 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
57 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
66 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
316 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
80 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
364 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
179 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
400 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
830 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
571 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
268 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
29 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
125 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
47 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
37 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
111 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
255 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
115 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
260 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 ...