Linked Questions

1 vote
3 answers
19k views

How to paginate this custom loop? [duplicate]

guys! I'm pretty sure this will be a piece of cake for y`all, but I'm trying to add pagination to my loop. I've tried some codes that were available around, and got to paginate it, but pages 2, 3, etc ...
Paulo Gabriel's user avatar
1 vote
1 answer
20k views

Unable to get paginate_links working with a custom query [duplicate]

I have built a news section in my Wordpress site with the advanced custom fields and custom post type ui plugins. On the custom news overview page (not the standard wordpress posts) I wanted to limit ...
rkoller's user avatar
  • 634
0 votes
2 answers
14k 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; $...
RoseCoder's user avatar
  • 181
1 vote
1 answer
5k views

Pagination for Custom Taxonomy Page [duplicate]

I'm having an issue getting my custom taxonomy page to paginate correctly. I looked through other examples posted on this forum, but I could not get my second page to not return a 404 error page. ...
unwrittendevin's user avatar
0 votes
1 answer
4k views

Pagination for search results of custom post type [duplicate]

I'm trying to display numbered pagination for search results of a custom post type. Basically a search form allows users to search a custom post type by 2 different taxonomies and then the results are ...
Ashley's user avatar
  • 3
0 votes
1 answer
1k views

Pagination not working in category listing [duplicate]

I can't get pagination inside categories listings to work. I'm using a custom query, with the get_query_var('paged'): $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args=array( '...
pixeline's user avatar
  • 2,867
1 vote
2 answers
1k views

How to add pagination to wp_query [duplicate]

I have a custom loop and I'm trying to break it up into several pages but I'm not getting the next and previous links to show. Here is my code: <?php if ( ...
graphical_force's user avatar
1 vote
1 answer
2k views

Add pagination to my custom loop [duplicate]

Any tips on fitting pagination into my loop below and I owe you a beer or two. I've worked out how to pull the top rated articles by vote from a custom plugin, and lay it out with a count, but ...
DOA's user avatar
  • 125
0 votes
1 answer
2k views

Custom Category Page Not Working [duplicate]

Under "Settings" => "Reading", I have set "Blog pages show at most" to 6. I have created a category called 1970s where one can see all the best Rock albums of the decade -> Meanwhile, I have created ...
William's user avatar
  • 207
0 votes
1 answer
1k views

Wordpress Numeric Pagination with Query String [duplicate]

So I have a dynamic loop which is affected by a query sting in the URL.. For example I have 3 categories and when they click the category it just adds a query to the URL: <a href="?view=dogs">...
Levi Cole's user avatar
  • 613
0 votes
1 answer
1k views

how to add pagination and post query in taxonomy-taxonomy-term.php? [duplicate]

I am have a theme by the "blog" post type and I use the code below to add term category to this post type $labels = array( 'name' => 'دسته‌ها', ...
saeed shabani's user avatar
0 votes
1 answer
1k views

Custom Post Type Pagination for Bones Theme [duplicate]

I am trying to implement pagination to my custom post type and I am using the bones theme framework as well as their function they provide for pagination. Here is my code $paged = (get_query_var('...
eufracio's user avatar
0 votes
1 answer
939 views

paging is not working properly on news archives page [duplicate]

I need paging on news archives page. Data is coming correctly if display all records on same page. But if i add paging code, then pagination values (such as 1,2,3,...16) coming correctly, but if i ...
Gaurav's user avatar
  • 103
0 votes
1 answer
1k views

Shortcode does not display pagination [duplicate]

I use a normal page for display posts by a shortcode.On pages posts are displayed correctly,but doesn't echo the next and previous posts links and the page content is displayed below shortcode ...
elenakoroleva's user avatar

15 30 50 per page
1
2 3 4 5 6