0
votes
1answer
45 views

Pagination doesn't function properly for archive of a custom post type set as the front page

I created a similar question about an hour ago but since then I feel that I've changed things enough so that if someone viewed it for the first time, it'd just be a confusing mess. So I am opening up ...
0
votes
0answers
24 views

Multiple post types on a grid (every nth post must be a specific post type)

I have a grid where I display multiple posts types. I need to lay out the grid making sure that I have 2 posts from one post type, followed by 4 posts from another, flowing continously thereafter. ...
0
votes
0answers
22 views

Pagination for two different post types on a same (category) page

First of all, I have searched the web as well as this site to get an answer, but couldn't find any. In theory, this would do what I want to do: How to fix pagination for custom loops? but I couldn't ...
0
votes
1answer
25 views

next page with custom post

I want to be able to show the older entries for my custom post but I cant get it to work. The problem is that it won't display the next and previous links. I have also tried with ...
0
votes
1answer
20 views

Previous/Next Link by Meta Value in CPT

I'm using the following code to paginate between custom post types and it doesn't seem to be using the meta_key or meta_value_num and I can't figure out why. The CPT is set-up to have hierarchal => ...
0
votes
0answers
13 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'), ...
1
vote
0answers
51 views

Custom Theme With Custom Loops

There are so many different questions on how to make pages show page numbers at the bottom but I can't seem to use the concepts explained in those to solve my own problem. I know some PHP and I've ...
5
votes
2answers
251 views

WP_Query Pagination on single-custom.php

What I am looking to do: Setup WP_Query pagination in a single-custom-post-type.php template file What I have done 1) Created a post type called "authors". Each post within that post type is an ...
0
votes
2answers
63 views

Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working

Maybe there's a better way to do this. Let me explain what I have right now: I have a custom post type (Products), and a custom taxonomy (Manufacturers). What I have outputting so far: Manufacturer ...
0
votes
1answer
37 views

Difference between page and paged

I have created a CPT that has an archive. When it comes to navigate between the pages, I have to use the page querystring like the snippet below. $current = get_query_var('page') ? ...
0
votes
1answer
35 views

Custom post type navigation on static page

I'm using the following code on a WP3.9 site to show a bunch of custom post types with pagination on a static page set as the frontpage: $args = array( 'post_type' => 'movie' ); $paged = ...
0
votes
0answers
40 views

Wordpress pagination /page/2 part added at the end of url

The pagination works, but not the default URL of the 'next' button. It ads the /page/2/ part at the end of my url where a $_GET is stored. Is there a way I can move the /page/2/ part to the end of my ...
0
votes
0answers
67 views

Pagination in custom loop for custom post type throwing 404 error

I searched around for similar problems but it did not worked for me, im a total beginner with WordPress. I made a custom query but the pagination throwing me 404 error Query $paged = ...
0
votes
0answers
49 views

Strange behavior with pagination on custom query

I already have a knot in my brain and searched here and on the web, but I can't find any solution. I build a Custom Post Type with some Taxonomies and create a page template to get some of the posts ...
1
vote
1answer
55 views

Custom Post Types strange pagination problem

Have a strange problem with pagination, the query work fine when I'm in homepage, but if click for the next page I get a 404 error. Disabling permalinks settings, I saw that in the query string (when ...
0
votes
2answers
70 views

Archive page - problem with pagination

I have a problem to display pagination using WP_Query. I've created a custom page, code below: <?php /* Template name: Models */ ?> <?php get_header(); ?> <?php the_post();?> ...
0
votes
1answer
24 views

Custom post type not displaying all entries

This is using a custom post type that I've set up in the functions.php file. What I was hoping to get some advice one was why I have 14 entries in my custom "SPEAKERS" post type but only have 10 ...
1
vote
1answer
182 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 ...
0
votes
1answer
134 views

Taxonomy rewrite pagination 404

I have rewritten my taxonomy url to the name of my posts type 'filter'. Because I have done this, my pagination does not work anymore on the url: http://www.website.com/filter/term-name/ So if I ...
0
votes
1answer
47 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 ...
0
votes
1answer
91 views

Group list of posts by taxonomy and allow for pagination

There are multiple ways of showing a list of (custom) posts by taxonomy, but none appear to allow for pagination. So, I can easily list all posts like: Page 1 1 2 3 4 5 Page 2 6 7 8 9 10 ...
0
votes
0answers
9 views

Pagination on custom post type with 2 wp_queries [duplicate]

Im trying to get my pagination on a page that lists all custom post types working. I have tried both the bones theme next/prev as well as the default wordpress option, to no avail. This is the two ...
0
votes
0answers
59 views

previous_posts_link returns null when querying custom post type

I have created a custom post type named lesson, and I want to display all lessons, so I created a custom page named lesson.php, inside, I added a query to look for all the posts which type are lesson. ...
0
votes
1answer
145 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 = ...
0
votes
1answer
65 views

get recent 12 days post then random in wordpress

I want to show recent 12 days post then totally random post showing i have done my almost done my work but my problem is i want to show only 12 post in a page then pagination will start. In my code ...
0
votes
1answer
109 views

Custom post type blog pagination conflict

I have a custom post type called 'emp_case-studies' and it has a page archive. Here is the code for archive-emp_case-studies.php: <?php $blog = $wp_query; $wp_query= null; $args= null; ...
0
votes
0answers
125 views

Custom post type pagination, single page issue

After having problems getting pagination working at all for custom post types, I've read that the custom post type name and the page name cannot be the same. So I set out from scratch: I've created ...
0
votes
0answers
34 views

Pagination for a Custom Taxonomy

Here's my problem: I have a Custom Post Type called Projects. In it's archive (archive-projects.php) I display a list of Clients (it's a custom taxonomy for this Projects). This works great, you can ...
0
votes
1answer
71 views

Custom post type (with parent-child relationship) singular page with pagination

I'm building a site that has two custom post types: Auction and Lot. Lots are connected to an Auction via the post_parent field. The single-auction.php template show 9 lots of an auction using the ...
0
votes
2answers
535 views

Pagination Custom post type

I have a custom post type called 'doel'. I have made a page template to display all the doel items In this page template I loop the 'doel' post type and after 6 of them, I want to have a pagination. ...
0
votes
1answer
59 views

Pagination always adding “Next” link when results come from Custom Post Type WP_query

Or at least that's how it seems. I have a page to which I pass several arguments to query post_meta for a custom field and I always get an extra "Next" link no matter the number of posts. If querying ...
0
votes
0answers
210 views

WP Page Navi Not Working in my Custom Query - Events Page Only

I'm using the same custom wpquery format in my NEWS page. And my pagination uses WP PAGE NAVI plugin. It does work on my NEWS PAGE but doesn't work on my EVENTS PAGE. Plugins used: 1. WP PAGE NAVI ...
0
votes
1answer
90 views

Pagination with Custom Post Type

I created a custom post type named "noticias" and duplicated archive.php with name archive-noticias.php. Everything works but when pagination actived, don't work page 2, 3.... I use plugin "T5 Page ...
0
votes
0answers
27 views

Custom post Type Pagination help

i'm wondering how to add pagination like 1,2,3.. on my custom posts listing page. Below is my custom post template which lists all my custom posts, <?php while ( $loop->have_posts() ) : ...
0
votes
2answers
234 views

Custom wp_query pagination - next_posts_link() or wp_pagenavi() always empty

I'm aware this is a topic discussed to death, but I have read through many solutions and can't understand why my pagination simply isn't working. I have a very simple custom wp_query: $current_page ...
0
votes
1answer
627 views

Custom post type archive page pagination

I have set up an archive page for my custom post type reference, where I use a query to get all posts of type reference. This works, but when I try to paginate the result, it doesn't work. Right now, ...
-3
votes
1answer
71 views

Newer/Older posts links display same posts on every page

I am using a plugin called "Types" to generate custom post types for drink/food recipes. I want to show booth drink and food recipes on the same page. The posts are displaying fine, but for some ...
0
votes
1answer
267 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 ...
0
votes
0answers
7 views

paginate_links issue with keyword search results [duplicate]

I am using paginate_links but it is building the URL in the wrong order when on a search results page with a keyword. Because of the structure of my site I am using GET for the search with a custom ...
0
votes
0answers
11 views

Pagination in get post of custom post type [duplicate]

I tried to add the pagination in get_post in the following method <?php $paged = get_query_var('paged') ? get_query_var('paged') : 1; $the_posts = get_posts(array('post_type' => 'image', ...
2
votes
2answers
486 views

Custom query form submission pagination

There is a question very similar to mine, which can be found here. The difference with my question is: my search form is on several pages (page.php and single.php) and I don't use wp-pagenavi. I've ...
1
vote
0answers
229 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
1answer
138 views

Rewrite Rule & Regex - Extract 'cat-name' and 'page-number' from http://domain.com/custom-post-type/category/cat-name/page/page-number

I have an URL formatted so: http://domain.com/custom-post-type/category/cat-name/page/page-number I need to extract: cat-name and page-number So that in my functions.php, I can create the custom ...
0
votes
0answers
334 views

404 - Category pagination for custom post type

--Edit I've managed to narrow it down that the paged variable is not working properly here, (get_query_var('paged')) ? get_query_var('paged') : 1; is always returning 0 although maybe it is due to ...
0
votes
0answers
39 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 ...
0
votes
1answer
61 views

Pagination URL order

I'm trying to create a filter by taxonomy for a custom post type. When I use the filter option it creates this URL which doesn't work: /projecten-test/?branche=industrie/page/2/. But when I enter ...
-1
votes
1answer
41 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() { ...
0
votes
0answers
251 views

WordPress Custom Post Type Pagination for Taxonomy giving 404

I'm developing a custom post type-based site on WordPress and have run into trouble on pagination - but only specific pagination. The custom post type has two taxonomies, pagination for these ...
0
votes
1answer
447 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. ...
0
votes
1answer
73 views

Trouble with pagination

So, been reading tons of posts on here and int he Codex but just not having any luck. I have a custom post type called Work. On my portfolio page I have "posts_per_page" set to 12. In total in this ...