It used to work fine, but now with WP 4.5.2 I get an error
Notice: Undefined offset: -1 in /(…)/wp-content/plugins/next-page/next-page.php on line 242
That lien says
$prevID = $pagelist[$current-1];
What’s the best way to submit security patches for this plugin? I’ve done several security updates and would like to share them if I can.
]]>in the plugins file at line 193 in the function “flatten_page_list” i changed:
- $args = 'sort_column=menu_order&sort_order=asc';
+ $args = 'sort_column=menu_order&sort_order=asc&post_type=' . get_post_type();
i call the plugins theme functions like this:
<?php if ( is_post_type_hierarchical(get_post_type()) ) { ?>
<?php previous_link(); ?><?php parent_link(); ?><?php next_link(); ?>
<?php } ?>
the whole plugin works now also for custom post_types.
maybe this can be implemented in an update?
]]>This plugin has worked with WordPress version 4.1 before. Does anyone know why or what would cause the [next] & [previous] links would point to the same links on every page?
]]>greetings,
i’m using twenty twelve on my website, halcarroll.com, and have installed next page to display next / previous indicators on my pages. afik, i’ve followed the instructions correctly but the next / previous indicators are not appearing on the pages.
i’m sure this case of “too stupid-to-breathe operator error” and would appreciate any / all suggestions as to what i need to do to activate and display properly.
thx in advance for any / all constructive feedback.
best,
hal
Everything worked fine until we updated to 3.8
Now it’s just not showing up on any form.
Website: https://www.amyloidosis.org.uk/
Thanks,
Ariel
Hi
Thanks for this nice plugin. It’s perfect.
I’ve got only a question:
Where can I replace the titles with buttons/images?
I know it should be in the php-file, but I didn’t find it.
Thanks for reply.
Best Regards
]]>Hi, Once I upgraded from WP 3.6.1 to WP 3.7. All of my pages sequence invalidated. Basically saying. It is not working on WP 3.7.
Would you release an update for WP 3.7 asap? Thanks!
]]>Great plugin. Simple and effective.
How is the page sequence determined? I can’t figure out how to reorder the pages.
]]>Hello Team!!!
My site is :: https://dev.pola.lt/
I am very disappointed in the using of wordpres plugin name Next-Page.
I have got issue of that when open the first post or page the prev arrow hide.
And last page or post open then next arrow hide.
So, I know that how to keep arrow on First Or Last page or post.
Please reply me as soon as possible.
Hi. I have used this plugin successfully on pages. Now I need a navigation for single Portfolio Posts. Can I do some simple customising to make it work on Portfolio pages?
Thanks
]]>I have put the page id of the following page in the exclude pages setting of the plugin, however as you will see the links still show up.
https://wordpress.beithazohar.com/WordPress3/?p=233
Thanks
]]>I’m running into problems using the [previous] and [next] shortcodes. Whatever text follows is displayed between the two links, e.g.
If the page is “[previous][next]
Basic information
blah blah blah”
Then this generates the HTML
<p><div class=”alignleft”>Previous: Home</div> <div class=”alignright”>Next: page2</div></p>
<p>Basic information placeholder</p>
Which is rendered as the previous link, the next link, and on the same line between them “Basic information placeholder”.
]]>Hey,
Next Page is working fine, but when I try to use multiple instances of it on a page (I have one instance above the content and one below the content), the second instance links to different pages than the first instance. Is there a way to have two instances of the buttons on one page? Tried going the jQuery clone route without success, but for whatever reason it’s not working either.
Ideas?
]]>I would like this feature to only work within a group of child pages. Is there any way to restrict it so that it wont attempt to link to other pages that aren’t part of the same parent?
Thanks.
]]>I am using the plugin “Next Page” (https://www.ads-software.com/extend/plugins/next-page/).
I have this successfully working for over 100 pages. However, there is ONE page that is in the wrong spot. I thought maybe it was related to page ID or publish/modified dates, so I made sure that the page in question was in the proper sequential order. That didn’t do it.
Any ideas?
]]>all the calls of htmlentities need to be set “UTF-8” compatible, for example
change htmlentities($options['before_prev_link'])
to htmlentities($options['before_prev_link'], ENT_COMPAT, "UTF-8")