Linked Questions

0 votes
0 answers
51 views

Pagination inside the blog page not working

I have a widget which creates a grid with pagination. If I am using the pagination then it works fine when used on the page to display grid. But when I am using that in inside a blog post. The ...
user avatar
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' =&...
Steve's user avatar
  • 1,677
0 votes
0 answers
3k views

Pagination with WP_Query not working

I have a custom page template on my site, with a WP_Query pulling in a list of posts. I'd like to implement pagination but just can't seem to get it right. Here's the code I'm using blelow, which ...
Kev's user avatar
  • 187
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 ...
eskimo's user avatar
  • 446
0 votes
0 answers
90 views

Using pagination with specific custom post type [duplicate]

Alright.. I've been looking alot on the internet in search of a solution for this.. so far i found nothing that could explain me how to solve it.. When i click on Page suivant from the navigation ...
pouki's user avatar
  • 11
0 votes
2 answers
620 views

Pagination With Custom WP Query not functioning

I have the following custom query and im attempting to paginate the links of previous archive posts using the example from the wordpress codex http://codex.wordpress.org/Function_Reference/...
Kirsty Marks's user avatar
0 votes
1 answer
822 views

Fix Pagination Directory on a page set as Front Page/Main Page [duplicate]

I have a page named "calientes" with a complex loop that's working perfectly. This page is located at domain.com/calientes/. Now I need to use this page as the home page, so I went to "Settings -> ...
Oscar's user avatar
  • 41
0 votes
1 answer
1k views

Problem: ( kriesi ) pagination doesn't work in homepage [duplicate]

When I set this template as homepage, pagination doesn't work. I see the buttons, but when I click the button for page 2, nothing happens, doesn't go on page 2, it still remain in page 1. What is ...
Blanka's user avatar
  • 35
0 votes
0 answers
19 views

WordPress and pagination [duplicate]

Let me paste code first: <?php $category = get_the_category(); $category_id = get_cat_id( single_cat_title("",false) ); $args = array( 'posts_per_page' => 5, 'post_type' => ...
IFightCode's user avatar
-1 votes
1 answer
59 views

Wordpress getting problem with pagination [duplicate]

I am trying to display pagination from archive.php with my custom post type news but when I click to Next page I am getting 404 page My Custom Post Type Code: function codex_custom_init() { $...
Rajnikanth's user avatar
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 ...
TheWebs's user avatar
  • 1,085
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 = ...
Paul's user avatar
  • 2,140
0 votes
0 answers
1k views

Pagination in custom loop [duplicate]

I thought I know how to add pagination to a custom loop and I've seen these questions and tutorials: Pagination not working with custom loop http://weblogtoolscollection.com/archives/2008/04/19/...
Paul's user avatar
  • 2,140
-2 votes
1 answer
1k 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 ...
DaveP's user avatar
  • 349
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 =...
21zna9's user avatar
  • 371

15 30 50 per page