Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-wp-pagenavi]

Note: Support related questions is off topic here and should be asked on the author's support forum. Adds a more advanced paging navigation interface.

0
votes
0answers
35 views

Blog Pagination Links Not Loading Custom PHP Blog Layout

Blog Pagination "[First...1 2 3...Last]" Links not loading custom php layout when left-clicked. Custom Layout: Blog title and meta should appear ABOVE the featured Image. Pagination Links: The ...
0
votes
0answers
40 views

PageNavi redirects to 404 when used as archive page

I'm using a page as archive for a custom post type called event. register_post_type('event', array( 'labels' => array( 'name' => 'Événements', 'singular_name' => '...
-1
votes
2answers
107 views

Error 404 blog/page/2/

Hello i have problem. I can't view /blog/page/2/ i klick "_posts_link" and error 404 shows me Blog Page -> home.php <?php $paged = (get_query_var('paged')) ? ...
0
votes
1answer
198 views

Pagination not working with pagenavi

I am using PageNavi and have been searching around trying to figure out why I can't get pagination to work. Currently, the page numbers show but when you click on the page numbers, it goes to a page ...
-1
votes
1answer
294 views

Pagenavi with archive page

I have some problems in making wp_pagenavi works. I have a custom post archive page in which I activated the function. Here's the code: <?php // WP_Query arguments $args = array( 'post_type' ...
0
votes
0answers
231 views

Pagination URL in Custom Content Type

I have some custom content types on my WordPress website. In order to use pagination I am using wppagenavi plugin and it works fine except in a single custom content type page template that I create a ...
0
votes
0answers
436 views

404 error next-page [2] PageNavi custom type taxonomy

I have a custom post type called pizza with a custom taxonomy called genero. mypage/pizza/peperoni/ When I click subsequent paginated page links (e.g. [2], [3], [next]) mypage/pizza/peperoni/page/...
1
vote
1answer
515 views

Pagination is not working on single-{slug}.php but works fine on page-{slug}.php

I would like to have my single-{slug}.php perform a query on a list of posts from different custom post type and use pagination. The pagination appears but unfortunately, clicking the pagination does ...
1
vote
2answers
1k views

WP-PageNavi is showing the first page only

I am using WP-PageNavi plugin, which I incorporated into my custom tpl page. There is woocommerce shortcode which holds all the products that I want to display, but I only ever see the same ones and ...
0
votes
2answers
1k views

Different Limit number of post on different archive page

I set post per page from setting>maximum post per page to 20. I have 2 different custom post types 'book' and 'author' for archives of each of them. I want to load different number of post in page. I ...
0
votes
1answer
53 views

Ussing page_navi with WP_Query

I'm ussing in my site that code: category-anuncios.php <div class="listado-anuncios"> <?php $paged = (get_query_var('paged')) ? get_query_var('paged')...
0
votes
1answer
55 views

Menu Details Output in Javascript [closed]

I have to output page, parameters( Page Url, Page Name, and Page's featured image) in javascript loop, one by one I think we can display it through NavMenuItems or NavMenu functions Pages displayed ...
0
votes
1answer
55 views

Article content navigator in wordpress like mbaskool website

Is there any way to allow navigation in an article within same post in Wordpress. or any such plugins ? Because i searched a lot, but could not find a way. For example : Check this link http://www....
1
vote
2answers
3k views

WP Page Navi. 404 error when using posts per page parameter [duplicate]

I'm trying to fix an error with pagination of WP page Navi plugin. After I've added posts_per_page parameter to the query I'm getting 404 error when clicking on link page3,4 etc (there are 10 records ...
-1
votes
2answers
536 views

Limit the number of posts via wpquery

We suppose that a category has 1000 posts, we can use the following code to show 10 posts per page and the wp pagenavi would present 100 pages with links of above 1000 posts. <?php query_posts($...
1
vote
4answers
2k views

404 error PageNavi custom type taxonomy | wordpress

I have a custom post type called rock with a custom taxonomy called genero. taxonomy-genero-curiosity.php mypage/Rock/curiosity/ When i click subsequent paginated page links (e.g. [2], [3], [...
0
votes
1answer
295 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 = ...
-1
votes
1answer
2k 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
1k 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
666 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
2answers
2k 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
844 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" name="...
0
votes
2answers
2k 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
2k 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
2k 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
2answers
297 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
1k 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:- http://...
0
votes
3answers
3k 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
11k views

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

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
858 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
180 views

Need help getting this page nav working correctly [closed]

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
2k views

pagenavigation not showing the next page just linking back to the main page [closed]

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 this. ...
0
votes
1answer
7k 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
2k views

wp_pagenavi function parameters [closed]

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
2k 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 ...
1
vote
1answer
8k 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
8k 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 ...
21
votes
3answers
25k 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
1answer
884 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
3k 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
6k 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
3k 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
1k 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' => ...
5
votes
2answers
37k views

wp_pagenavi() with custom wp_query()?

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