Tagged Questions
0
votes
0answers
15 views
Pagination won't go to page 2 [duplicate]
I've created a page which uses posts 2 posts and pagination
The pagination will not go to page 2, every time I click the link it reloads the page, however hovering over the page two link shows the ...
0
votes
1answer
27 views
Pagination problem in custom post type used as front page
I am working on a theme with custom post type.
the issue currently is that i am saving the layout files in a folder called templates.. and in front-page.php i am using an options check to see which ...
0
votes
0answers
28 views
Archive Page Pagination not working
I am using the following template for a custom post type. The pagination does not work as you can see at http://www.xava.ie/testimonials
Any hints as to why it is not working for me?
<?php
...
-3
votes
0answers
31 views
Pagination Issues
I've got a static home page with a wp_query for custom post type posts that need to be paginated. I'm using a page builder plugin to build the rest of the page.
I'm using the following code but the ...
-2
votes
0answers
13 views
Pagination for custom post type on page template [duplicate]
Hello I am trying to add pagination to a page template which I am using to display a custom post type. I have looked around for a few hours but I haven't come across clear set of instructions to ...
0
votes
0answers
41 views
Wordpress - ABC filter/Pagination
I would like to list out the alphabet on a custom post type archive page, and by clicking on a letter in the alphabet it would link to a url that only displays posts that begin with that particular ...
0
votes
0answers
31 views
Pagination not working on page
Edit :
Toscho said this was a duplicated question and gave me a link
Pagination not working with custom loop
I checked it out and followed the steps but this is not working for me.
Right now. when i ...
0
votes
0answers
61 views
Classic Custom Post Types and WP-PageNavi
Has anyone made this work?
I am searching for a solution for 2 days now, and it won`t work.
I have...
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$updates = new WP_Query(array( ...
0
votes
0answers
29 views
next_post_link() not working properly
I am using next_post_link() and previous_post_link() in single-custom.php to
browse through post-type "custom".
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div ...
0
votes
1answer
55 views
List of filtered Events is breaking paging?
I have a list of events that are displaying in date order, with events in the past being hidden.
The issue is that in total, there are 3 pages of events, but once the past events are hidden, there ...
0
votes
0answers
11 views
Pagination doesn't work using custom query (GET), WP redirects to paged url [duplicate]
I am using the Better pagination via: http://sltaylor.co.uk/blog/better-wordpress-pagination/ and for some reason the pagination url gets redirected by Wordpress.
The pagination query should be:
...
1
vote
1answer
76 views
Pagination go to first page if i'm on last post
I have a custom post type and used get_next_post() and get_previous_post() to create a simple pagination. However i need to create a pagination loop (if that is the correct term). If i'm on the first ...
2
votes
1answer
232 views
Pagination with custom post types results in 404 issues
I've a very simple index.php:
<div id="content">
<? get_template_part('content', get_post_format()) ?>
</div>
<div id="pagination">
<? previous_posts_link() ?>
...
0
votes
1answer
97 views
Pagination not working on homepage
I tried multiple solutions but its not working.
When I go to /page/2, it doesn't work.
I'm executing custom query in index.php of my theme.
if ( get_query_var('paged') ) {
$paged = ...
0
votes
2answers
37 views
send user to first page of results when reposting to page?
I have a custom template with a drop-down that filters posts by category. I do it by making the form post to the page itself and then catching the argument and using it in a query (see code below).
...
0
votes
1answer
70 views
How do I paginate a custom post type listing on a custom template page?
I've got a page template called tpl-memos.php which is attached to a page called 'Memos' with a parent page called 'About', the permalink for the page therefor is example.com/about/memos. On this page ...
1
vote
1answer
189 views
Custom Post Type Pagination & duplicate posts
I'm working on a template which will use some custom-post-types & custom-taxonomies.. I'm having problems with pagination and duplicate posts.
HOME.PHP
LOOP #1
On the homepage (home.php) I have ...
0
votes
1answer
57 views
Pagination on a page
I've got a page of which I'm displaying a load of custom post type posts, much like blog displays a load of posts.
I'm using WP_Query and have my pagination links outputting correctly, however when I ...
0
votes
2answers
238 views
paginate function in archive for custom-post-type
I have a custom-post-type for events and use the normal archive.php template to list all previous events.
The thing is that I use a custom query for my event-post-type inside archive.php like this …
...
3
votes
2answers
789 views
How do I paginate search results for custom post types?
I have a Custom Post Type called "cars" that stores several custom fields along with the standard Title/Description fields. I need users to be able to search through the CPT based on the custom fields ...
1
vote
0answers
49 views
can these 3 queries be re-written as 1 query?
I am creating a Dentist directory site, and I have a taxonomy archive page which requires particular grouping and sorting (see below). So far I have only been able to achieve this using 3 WP_Querys ...
0
votes
2answers
413 views
Custom Post Type Pagination on Single.php?
The same old problem and not sure if its even possible.
Pagination on a single.php custom post type, is it possible?
This works fine until i turn permalinks to /%postname%/ then it just reloads the ...
2
votes
1answer
483 views
Pagination gives 404 error
It's seems that this bug of WP never was solved by WP team.
I have custom post-type, my url structure is /%category%/%postname%/ And if i click on 2nd page i will get 404 error.
I tried everything i ...
2
votes
2answers
283 views
Pagination Issue: Custom Post Type In Index
I'm using a template, which uses Custom Post Type 'movies'. When I try to change the page I got 404 Not Found :(
This is my index.php
<div id="content">
<?php
$temp = $wp_query;
$page = ...
1
vote
0answers
153 views
Custom post type pagination - always return first page
I have custom post template archive-product.php for custom post type "product".
In this template paging does not work:
numbers are displayed
all numbers links redirect to first page
...
-2
votes
1answer
223 views
What Is My Fault With This WP_QUERY ? [ Pagination Problem ]
I did a photo gallery with custom post type. The pagination works correct but, if I click to a category, then it must show all photos of the category with pagination, but page 2 not found. You can ...
0
votes
1answer
37 views
Fourth page of custom post type archive page does not exist
I recently developed a custom post type for my company's blog, so that we could have a separate press area. In the archive-presse.php page I make a query, thus :
$paged = (get_query_var('paged')) ? ...
1
vote
0answers
271 views
Pagination in a Shortcode. Get_next_posts_link not working but get_previous_posts_link works fine right next to it
I'm trying to output a custom post type archive using a shortcode. Everything works fine except for the get_next_posts_link part. The weird part is that it's right next to a get_previous_posts_link ...
0
votes
1answer
1k views
Shortcode Displaying Custom Post Types
I have a problem with a shortcode that I'm creating.
I have 5-10 different custom post types, and rather than creating a template for every individual post type, Id rather use a normal page and ...
0
votes
1answer
193 views
Pagination broke after updateto Wordpress 3.4 [duplicate]
Possible Duplicate:
Custom Post Type Pagination Doesn't Work in Wordpress 3.4
I updated to wordpress 3.4 and after so my pagination broke showing not found on page/2 etc. I am using ...
1
vote
3answers
2k views
Custom Post Types, Page Templates and Pagination. Why do I get a 404 Error?
I have spent hours today on a maddening issue I was having with displaying a custom post type. Everything displayed beautifully, except the pagination simply would not work properly.
I have a ...
0
votes
1answer
309 views
WP_Query pagination using only numbers instead of /page/1 on URL
I don't get whats happening here.
I'm on a child-page template, generating a WP_Query for Custom Post Types on the fly, like this:
$notrel = new WP_Query(array(
'post_type' => $type,
...
-1
votes
2answers
872 views
category.php + pagenavi + custom post types + /page/2 = 404 errors
I'm seriously going to go crazy if I dont figure this out. I have tried a million different things from googling,a nd I've been staring at this same problem for days now.
Pagination for a custom ...
1
vote
1answer
839 views
pagination not working for category.php (custom post types in categories)
it works everywhere on my site but it isnt working in category.php. When i click page to it goes to... domain.com/category/cat-slug/page/2
by the way this is showing custom post types within certain ...
0
votes
1answer
463 views
Pagination throws 404 error on custom taxonomy archive pages
I have created a custom taxonomy for a custom post type called "portfolio" like so:
function jvs_portfolio_categories_init() {
register_taxonomy(
'project-category',
'portfolio',
...
0
votes
3answers
637 views
Single parent post lists child posts with pagination
I would like to build on this answer so I can incorporate pagination and a couple of other features.
We have over 1,600 entries in our Glossary so certain letters have far more than 20 (my max ...
4
votes
1answer
342 views
WordPress search: pretty URLs (permalinks), custom post types and pagination
I have three separate search boxes on my website: species CPT search, glossary CPT search and a general search which I'd like to search post and species post types.
My questions are threefold,
...
0
votes
7answers
2k views
Paginate Custom Post Type Page
I created a page for my custom post types. The code can be viewed on Snippi: http://snippi.com/s/e8852rx
I'm trying to insert paginate_links, but for whatever reason it's simply not showing up. ...
0
votes
1answer
286 views
Pagination of Custom Post Types not Changing Posts
I have a custom post type, jobs, being displayed on an external page using WP_Query() - the query itself is working fine.
However when I try to paginate the results, the older/newer links show up, ...
0
votes
2answers
444 views
Custom Post Type, Two categories, Two columns with Pagination
I searching a lot to found a way solves that and no luck at least.
Sorry for my unpulish english, I do my best explaining my issue.
I have a Custom Post Type called 'Events' this have two categories ...
0
votes
2answers
572 views
Problems with pagination for a custom post type
My pagination links are failing for a custom post type here http://mjw.view-wireframes.com/about-us/press/
the page reloads http://mjw.view-wireframes.com/about-us/press/page/2/ but this has no ...
0
votes
1answer
290 views
Using custom post type as front home page pagination not working
I've searched for days for a solution, scouring the interwebs, including, of course, stackoverflow.
I'm using a custom post type as a static home page, but the pagination will not work. When I ...
0
votes
1answer
87 views
Wordpress custom post type post and category links 404
I've recently created several custom post types in a wordpress site, with the code below, they are generating links in the correct form e.g. root/category/id/postname but each link to the full post, ...
0
votes
1answer
249 views
Custom Post Type, Pagination and 404s?
Head is getting melted with this pagination crap in WordPress!
What am I doing wrong here…
Test site
http://www.clients.eirestudio.net/savvas/reviews/
Code
<?php $paged = ...
4
votes
1answer
92 views
Multiple Paginations on one Page
I have a page template which aggregates multiple CPT's in different areas of the page and displays the first post from each CPT. I'd like to add a separate pagination for each of them. Is it possible ...
1
vote
1answer
878 views
Pagination on a custom page template
I have set up a custom post type called 'Events'. For reasons that I'm not going to get into, I chose not use archive-events.php as the archive template for my Events. Instead, I decided to create a ...
0
votes
1answer
2k views
Paginating Custom Post Types with wp-pagenavi plugin [closed]
I have searched through this site and online foran answer to my problem and tried lots of different suggestions offered and nothing works - please help!
I'm using the WP-PageNavi plugin. With the ...
0
votes
2answers
382 views
Custom post type pagination error
Another one of these paging errors you see here so often. I searched high and low for a fix but have come up with nada so far.
I am paging CPT results using my archive-{$post_type}.php template and ...
0
votes
1answer
87 views
Display “Post 2 of 4” on single post page?
I have a custom post type called Projects.
When viewing a single 'project' post I have next/prev buttons to navigate through them.
I also want to display text saying "Project 2 of 4" or ideally ...
1
vote
0answers
105 views
Taxonomy Pagination [closed]
I have a custom post_type => 'products' wich has a taxonomy => 'product_type' and I have a page that uses a template to display all posts by post_type => 'products'.
Works just fine when I ...


