Linked Questions
40 questions linked to/from Pagination not working with custom loop
6
votes
2
answers
49k
views
wp_pagenavi() with custom wp_query()?
<?php
/*
Template Name: Projects
*/
?>
<?php get_header();?>
<section id="content">
<section id="main">
<?php
$loop = new WP_Query(...
2
votes
2
answers
14k
views
Pagination doesn't work in custom page template [duplicate]
Possible Duplicate:
Pagination not working with custom loop
Apparently this is very popular issue. There are already bunch of people offering answers for this. But somehow after hours of ...
1
vote
1
answer
2k
views
WordPress custom post type category pagination 404 Error
This problem is giving me a headache and I was wondering if anyone knew how to fix it.
I have a custom post type called Review. Here is how it is defined:
function codex_custom_init() {
$args =...
1
vote
3
answers
3k
views
Pagination Doesn't Work
I created myfile.php with the following content:
global $paged;
if ( get_query_var( 'paged' ) ) {
$paged = get_query_var( 'paged' );
} else if ( get_query_var( 'page' ) ) {
$paged = ...
1
vote
0
answers
2k
views
Pagination with custom query, custom search form, single and pages, ajax and no plugins
I've read a lot of posts here about pagination with custom queries and tried the suggested answers (like this one). It seems however that my situation is a little more complex, and in the existing ...
0
votes
1
answer
4k
views
How to use pre_get_posts?
I am having a problem with the custom category template pagination and i search and read that using pre_get_posts fix the pagination problem. I read the pre_get_posts information in the WordPress ...
0
votes
2
answers
2k
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. ...
0
votes
1
answer
2k
views
Pagination not working with custom post type
From this answer, I now have an adjusted WP_Query statement (I added the $paged variable):
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$loop = new WP_Query( array( 'post_type' =&...
0
votes
1
answer
1k
views
How do I get my loop.php to properly paginate?
I am using the Starkers theme as a foundation to build my theme and I am having difficulty getting my loop.php to paginate posts properly. When I click the "Next" or "Previous" post pagination button, ...
0
votes
1
answer
47
views
Query Not working as expected
So I wrote a rather - unattractive function - a while ago and I was re-factoring some code and I realized my query function doesn't work ... I recently made a post about how my tansient posts were ...
0
votes
1
answer
314
views
Pagination linking to first page
I have created a query which work correctly and displays the pagination correctly. However when clicking the links /products/category/application-range/page/2 the page will load and go back to /...
0
votes
3
answers
142
views
Trouble Making WP_Query paged
I'm using the query below in the index.php file as the main query, whenever I try to go to the 2nd page I get a 404 error, I tried using posts_per_page but to no avail.
<?php
$args = array(
'...
0
votes
2
answers
7k
views
Pagination for a category
Hi I have page displaying 20 featured images and info of a specific category, I wish to able to have pagination so I can have multiple pages for the category.
How do I do this? I cant seem to get it ...
0
votes
3
answers
5k
views
Pagination Not Working (pages duplicating content)
My pagination pages echo out the same content on every page.
Page one is queried to show two posts, which it shows up correctly.
Page two shows the exact same two posts as page one does.
Here is my ...
0
votes
1
answer
777
views
WP Paginate not working properly
Im creating a WP for a custom type post in a page template:
<?
global $paged;
global $notquery;
$temp = $notquery;
$notquery = ...