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

learn more… | top users | synonyms (1)

0
votes
1answer
56 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
96 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
159 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
93 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
74 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
797 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
48 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
525 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
83 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
50 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
0answers
11 views

Add Show All feature in Pagination of custom post type

i want to add show all feature for pagination in custom post type. i have wondered and trying to find many places but not getting any proper response. I have add this feature.
0
votes
1answer
123 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
172 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
0answers
12 views

One pagination with 2 queries [duplicate]

Pagination doesn't work on my site. I'm using two types of queries, like this: First query without pagination: <?php $my_query = null; /* this query for tagged posts, show last one. ...
0
votes
1answer
65 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 ...
0
votes
2answers
688 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
710 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
418 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
162 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
282 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 ...
0
votes
0answers
121 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
53 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
121 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
107 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
49 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
83 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
74 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
131 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
50 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
54 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
234 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
56 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
238 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
71 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
24 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
116 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
347 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
456 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
358 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
211 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
22 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
0answers
223 views

Variable Posts per Page function plus pagination not working

I use the Reverie theme as a framework for my sites and I'm having an issue with using a function to create variable posts per page plus having the arrows for the paging to work. I used the variable ...
0
votes
1answer
89 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
76 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
0answers
23 views

Comment pagination with newest comments first

I am currently using the plugin WP-CommentNavi for comments pagination but whenever a page is clicked it goes to the highest comments page (oldest comments). My comments are purposely displayed newest ...
0
votes
2answers
1k 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
171 views

Custom archive pagination with dropdown select

I am trying to create custom pagination for the posts in my custom post type archive page using the paginate_links function. So, instead of the default Previous and Next, I'd like to use an HTML ...
0
votes
0answers
39 views

Having trouble fixing my title

I'm using this code in order to display what page the user is on. <title> <?php global $page, $paged; wp_title( '|', true, 'right' ); bloginfo( 'name' ); ...
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, ...