Hi, I know this topic has been discussed several times. I checked forum posts before I come and I ask here. I am using WordPress 2.7 as a blog and CMS. I have a set of pages with their children organized in a hierarchy like this
and so forth. You’ve probably figured it out already. I am designing a pathology page for my students. I want to have a simple previous page, next page navigation at the end of each page that let the student (user) move to the next page as if he/she was reading a book. I am not an expert in php scripting but I understand what loop is and how to edit template files so I can probably do it if someone helped me out.
So far this has been impossible to implement at least for me.
I checked the following solutions.
Did not work for me
The plugin by Kafkaesqui worked but it jumps between parents not children. However, in the same post, the user apeatling has modified the plugin to let children have previous next navigation. Unfortunately, when I try to download the plugin or view the source could I get error 500.
3. I landed on this page http://www.ericmmartin.com/conditional-pagepost-navigation-links-in-wordpress-redux/
Which explains how to do it but it didn’t work for me for some reason.
4. The function wp_link_pages() has become deprecated http://codex.wordpress.org/Template_Tags/link_pages
and the solutions did not work anymore.
I am kinda lost here. It is very easy to navigate through posts but how can I achieve this navigation in children in pages. I love WordPress. Please help me.
I just wrote up a very simple plugin to do this for a client site. If you still need help with this, drop me a message.
After 2 days of searching and pulling my hair I also found Kafkaesqui plugin which works great but I also need to limit it to an specific parent page. Apeatlings modification sounds like exactly what I need but the link is broken and the topic is closed.
If you have a similar solution mcinvale, I would love to hear about it!
Thanks in advance.
Shoot me an email email@example.com
Subject: Next Page, Not Next Post.
WP.org Plugin Page: http://wordpress.org/extend/plugins/next-page-not-next-post/
Your plugin is exactly what I need! Special thanks to cool people like you who figure things like this out for the rest of us!
Unfortunately I can’t get the plugin to work : (
I am sure I am doing something wrong, but can’t figure out what it could be.
I am on a 2.7.1 install, and have placed this code in my template:
<?php echo next_page_not_post(‘next page’); ?>
<?php echo previous_page_not_post(‘previous page’); ?>
no text or links show up?
what could I be missing??
- The topic ‘Previos Page | Next Page Navigation (not posts) within Children’ is closed to new replies.