Tagged Questions

Adds a more advanced paging navigation interface.

learn more… | top users | synonyms

0
votes
0answers
16 views

comments - submit wont redirect to last comments page [on hold]

So, comments are paginated, and when you submit one, it wont take you to your comment's page. Not only that, but it takes you to the exact middle page. Lets say we have 5 pages, you make a ...
0
votes
1answer
41 views

Pagination in custom query in a category page

In a category (I create category-123.php), I'd like to create a new custom query in order to show all the posts that have right parameters (custom fields). <?php $today = date("Ymd"); $paged = ...
0
votes
0answers
37 views

Page Navigation not working for the next pages

I use a custom template to display the lists of post. The pagination design works, and even the post_per_page works but then it only display the post indicated for the post per page. so when clicked ...
0
votes
0answers
23 views

How to customize page navigation to different query_posts

I work on category.php For the first page i want to show posts under premium category and [the clicked category link] so i used the query post: category__and' => 4208,$cat_id Then when clicked NEXT: ...
0
votes
1answer
263 views

Pagination with wp_pagenavi not working on custom page

I am having trouble with wp_pagenavi working on the start page using a custom query. It's working well on every standard template like category.php. But not on the homepage. Here is the code: ...
1
vote
1answer
159 views

Pagination with $_POST and $_SESSION

I have a page on my site where in the left column is a set of checkboxes representing taxonomies and in the right column is a list of posts that fall into the selected taxonomies. The user is able to ...
0
votes
1answer
137 views

How can i show pagenavi in my author.php?

With this query in author.php i show all posts from a specific author_id/name/slug. But the problem is when i set the minimum of posts to show in the page. I have tried with posts_per_page= but if i ...
0
votes
0answers
12 views

Wordpress Page-Navi custom page error 404 [duplicate]

I installed the WP-PageNavi plugin on my site. Then I added a new custom page with WP-PageNavi. mysite/page/1/ - working mysite/page/2/ - working mysite/page/3/ - error 404 not found ...
0
votes
2answers
155 views

PageNav Not working on Custom Post - function built into theme

The Pagenav will not appear on this page, I've got the wp-pagenav function built into the theme so calling it works on all the other pages. It appears on the blog template I'm using but just not the ...
0
votes
0answers
396 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
2answers
298 views

pagenavi shows alot of pages calculated from all posts in the site with query_posts

I need to excute posts from 2 seprated keywords using s=keyword with get_posts, but only searching in titles. I found this answer. I created a custom template to use it in single page. Then I used a ...
0
votes
1answer
233 views

Wp Pagenavi how to display all results

I'm using Wp Pagenavi Plugin. I'm trying to display all results from a button. I'm using this: $out .= '<form action="" id="showall" method="POST" name="results"> <input type="hidden" ...
-1
votes
1answer
567 views

Post pagination wp-pagenavi

i'm having some problem with page pagination using wp-pagenavi, i'm using this query: $myposts = query_posts( array( 'showposts' => 10, 'paged' => get_query_var('paged') ) );; i would that ...
0
votes
2answers
420 views

Pagenavi pagination via wp-query in functions.php showing same content for each page

I've recently had a lot of help creating an upcoming events list (see here Showing upcoming events including todays event - StackOverflow), as a result my pagination using wp_pagenavi() is broken. At ...
2
votes
1answer
1k views

Page navigation doesn't show when query category

Problem: when I do www.example.com?cat=4 or choose category through custom menu or from category widget it shows only first page without navigation at the bottom, where it supposed to be. It's the ...
0
votes
1answer
641 views

Pagination breaks on child-categories, works fine on parent-category

I have two parent categories, and pagination is working fine on them - the paged url's show as: /parent-category-1/page/2/ ... etc /parent-page/parent-category-2/page/2/ ... etc However, when I go ...
1
vote
0answers
109 views

Insert a “view all ” option on wp page navi [closed]

Is it possible to/how can I add a view all function to my wp-pagenavi? For example : 1 2 3 >> View All >> Currently I just have the 1 2 3 >> but would like to give my visitors to option to 'View ...
1
vote
2answers
162 views

How do I sort posts with multiple pages

I am using a drop-down to sort posts by title, meta_value, etc. However, the sorting feature only works on the first page. The second page displays the default order rather than continuing the order ...
0
votes
1answer
590 views

wp pagenavi not working with category id

Can someone let me know i am using wp pagenavi wordpress plugin http://renegadehealth.com/blog/?cat=6708 When i click on the next button at the bottom the following link comes:- ...
0
votes
3answers
2k views

Wp PageNavi only works with default permalinks on a custom post type?

I have tried many solutions to no avail and really need some help. I have a Custom Post Type named "Portfolio" that is setup to display it's contents on a page called Portfolio.php. Wp PageNavi is ...
5
votes
6answers
4k views

How can I make wp-pagenavi work on a custom query built upon a form submission? [on hold]

I've also posted this on the wordpress support forums, for scribu's wp-pagenavi plugin: http://wordpress.org/support/topic/plugin-wp-pagenavi-custom-query-form-submit-part-2?replies=1 My situation: ...
0
votes
2answers
713 views

Sort custom posts in archive by multiple values: date AND meta key

I have a post type and I want to sort posts in its archive according to two values: by a meta value called "artwork_year" which contains a 4 digit number (year) by post publish date what the query ...
0
votes
1answer
158 views

Need help getting this page nav working correctly [on hold]

For some reason the page nav doesn't work correctly. It's styled odd on the home page, then if you go to a page you'll see it really looks odd. I can't figure out what's happening. If anyone has any ...
0
votes
1answer
729 views

pagenavigation not showing the next page just linking back to the main page

Using this on my index.php <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?> Using plugin: WP-PageNavi Wp Pagenavi Style Not sure what information you need to help me fix ...
0
votes
1answer
3k views

Wp-pagenavi giving page not found on clicking page 2

I'm getting a page not found when I click on page 2 using wp-pagenavi. This is my code, is there anything obvious there that's wrong? <div class="news-content-inner"> ...
0
votes
1answer
958 views

wp_pagenavi function parameters

I've been searching all around the web for the API of the wp_pagenavi plugin, but seems that I can't find one. I just want to know: In examples that I found, the wp_pagenavi function has from 0 to 3 ...
0
votes
2answers
865 views

pagination links not displaying

I'm unable to get my 'next_posts_link()' and 'previous_posts_link()' to display. So far I've tried the standard first debug by deactivating all plugins and clearing the cache, I've also tried removing ...
0
votes
1answer
4k views

WP-PageNavi not working on Custom page Template

this is my code in Custom page Template <?php query_posts('showposts=8'); ?> <?php $count = 1; if (have_posts()) : while (have_posts()) : the_post(); if($count == 1) : ?> & ...
0
votes
3answers
5k views

WP-PageNavi gives me a 404 when using WP Query

I see that there are a lot of similar questions here at WPSE, and I've tried many of the suggestions mentioned trying to solve my problem but with no success. I have a category called News. In this ...
7
votes
3answers
4k views

How to determine if I'm on the first page of pagination?

How do I determine if I'm on the very first page of pagination? I'm using WP_Pagenavi. I want to run a function only on the first page of the pagination. I checked the query_var 'paged', it's set to 0 ...
1
vote
0answers
932 views

Create pagination in the items list of specified custom taxonomy term [closed]

I've created list of custom taxonomy term and have problem with pagination. Custom post type "gallery" has his own custom taxonomy "gallery_category". The next loop lists all items of chosen Gallery ...
1
vote
1answer
483 views

Same posts from my homepage are on all of my different page

I see that you solved the problem of a WordPress user memo-maritime two years ago "Same posts from my homepage is on all of my different pages".The same problem i have.What should I do?I installed ...
0
votes
1answer
1k views

Pagenavi Plugin and Custom Post Type - Multipage results

I having trouble with the results, the url and the pagination shows correctly, but when I'm on page 2 or 3 etc... there only show the results from the first page. this is my code. <?php ...
4
votes
1answer
3k views

How To create ajaxed wp-pagenavi?

I'm using WordPress as a Facebook platform and have a page that shows posts from 2 different categories. Each category has it's own pagination using wp-pagenavi. In order to stay in Facebook I need ...
0
votes
1answer
2k views

wp-pagenavi only showing first page

I'm trying to get pagination to work, I get the nav tools to show, but when i click to move to the next page it loads the first page every time. Here's the code: <?php $args = array( ...
2
votes
1answer
880 views

Exclude Sticky posts from Main Query break Pagination

I have a small problem with this function ! I would like to exclude all sticky post from my query but when I do it, it breaks my pagination. In the following code, when I remove the "'post__not_in' => ...
3
votes
1answer
11k views

wp_pagenavi() with custom wp_query()?

<?php /* Template Name: Projects */ ?> <?php get_header();?> <section id="content"> <section id="main"> <?php $loop = new ...