Linked Questions

0 votes
2 answers
591 views

Pagination issue [duplicate]

I'm working with a custom post type / custom taxonomy combo and I can't seem to get pagination to work properly. I'm wanting to add an infinite scroll to the page, however I can't even get pagination ...
user3741214's user avatar
-1 votes
1 answer
191 views

paged query leads to 404? [duplicate]

As soon as I click the "2" on my pagination links I get a 404-error. The url correctly changes to http://mysite.com/?paged=2 <?php /** * The loop that displays the posts. */ ?> <ul class="...
mathiregister's user avatar
0 votes
1 answer
194 views

Custom pagination [duplicate]

I'm using template part for showing portfolio items. It's not page template just portfolio.php file and I'm included it with get_template_part('portfolio'); to homepage. Now everything is working ...
trikuin's user avatar
0 votes
2 answers
164 views

Adding pagination to WP_Query [duplicate]

I've got the following loop (this is on a single page, not the index.php): $top_meta_cat_args = array( 'posts_per_page' => 9, 'post_type' => 'post', 'meta_key' => 'top-radio',...
tmyie's user avatar
  • 873
0 votes
1 answer
124 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 "www.domainname....
Troy's user avatar
  • 237
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
0 answers
46 views

Pagination broken at search results page [duplicate]

Common problem, yet this time I can't seem to figure it out: the pagination at my search.php is not working, it sends me to the index page the moment I click on "page #" My search.php is set up like ...
inTOWN's user avatar
  • 101
0 votes
1 answer
40 views

Pagination re-direct to main page [duplicate]

This is a general question regarding pagination. I have posts on the main page, but the pagination is redirected to main page. For example, site.com/page/2 goes to site.com. Is there a general ...
Steve Kim's user avatar
  • 365
0 votes
2 answers
47 views

Add pagination to the posts retrieved by below query [duplicate]

I am trying to show all published posts of my custom post type and I wrote this $query = new WP_Query(array( 'post_type' => 'x-video', 'post_status' => 'publish', '...
Mounika's user avatar
0 votes
2 answers
27 views

How to display the pagination in my post list? [duplicate]

<?php $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; $args = array( 'posts_per_page' => 6, 'offset'=> 0, 'category' => 1, 'paged' => $paged ); $custom_query = ...
Fábio Cícero's user avatar
0 votes
0 answers
22 views

How do I automagically use <!--nextpage--> in custom page template? [duplicate]

I have searched a lot now and not found a real solution that helps me with this: I am creating a custom page template for an archive page. This (static) page will show all my blog posts ordered by ...
rob_st's user avatar
  • 166
1 vote
0 answers
22 views

Pagination custom category page template [duplicate]

I want to display product categories on separated pages. Should be 6 posts of 1 category on a page, and if we have more than 6 postings in this category, - so I want to display a pagination. I googled ...
Orwell's user avatar
  • 71
0 votes
0 answers
19 views

Pagination not working for cpt [duplicate]

I'm using this script to catch posts from a custom post type $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $args = array( 'post_status' => array('publish', 'future'), ...
marcelo2605's user avatar
1 vote
0 answers
13 views

Pagination on custom post type is not working when clicking on next link [duplicate]

Trying to paginate custom post types of specific taxonomy but next link of pagination is not working and getting 404 page. any help Here is my code: <?php $paged = (get_query_var('paged'...
Khodadad's user avatar
0 votes
0 answers
13 views

Page/2/ giving 404 when query is added [duplicate]

If I do a search example.com/?s=london with no wp_query I get results and I can change pages. But if I add a wp_query and do the same search example.com/?s=london if I click to page 2 example.com/page/...
Osc727's user avatar
  • 1

15 30 50 per page