Simple Section Navigation is a WordPress plug-in that adds a widget for section based navigation. Easy to configure and essential for CMS implementations!
New version 2.0 added February 7, 2010! Users of pre-2.0: this is a major update; please read more below before updating.
Download version 2.0 from the WordPress plugin repository »
Description
Adds a widget to your sidebar for section (or top level page) based navigation. The title of the widget is the top level page within the current section. Shows all page siblings (except on the top level page), all parents and grandparents (and higher), the siblings of all parents and grandparents (up to top level page), and any immediate children of the current page. Can also be called by a function inside template files.
It includes a simple widget configuration panel. From this panel you can:
- Determine whether the section navigation widget should appear on the home page
- Override standard behavior and have the widget show all pages in the current section
- Determine whether the widget should appear even if the section only has one page (the top level)
- Provide a list of pages to exclude from the output
- Determine whether the section navigation should still appear when viewing excluded pages
- Determine whether the section title should be linked
- Determine page sort order (defaults to menu order)
The widget uses standard WordPress navigation classes, in addition to a unique class around the widget, for easy styling.
Compatible with WordPress MU. General installation instructions.
Upgrading from pre-2.0
Version 2.0 represents a major change to the plug-in’s internal architecture. Version 2 will attempt to seamlessly upgrade the old the widget, but you should document your current settings before upgrading to be safe. If you are calling it by a function in the template (not using the widget), you will be required to update your template, unless you were using the default settings. The function now has 1 parameter: arguments for the output of the widget, as detailed under installation instructions.
Screenshots
Calling section navigation inside template (without widget)
Function name: simple_section_nav()
Parameters:
- show_all – Always show all pages in current section (default: false)
- exclude – Page IDs, seperated by commas, of pages to exclude (default: ”)
- hide_on_excluded – No navigation on excluded pages (default: true)
- show_on_home – Show top level page list on home page (default: false)
- show_empty – Output even if empty section (default: false)
- sort_by – Page sort order; can use any WordPress page list sort value (default: menu_order)
- a_heading – Show all pages in section (default: false)
- before_widget – HTML before widget (default: <div>)
- after_widget – HTML after widget (default: </div>)
Example:
simple_section_nav('before_widget=<li>&after_widget=</li>&exclude=2&show_on_home=1');
Will wrap the widget in LI tags, exclude page ID 2, and will output on home page.
Additional Notes
A full change log is available here.
Possible future features based on demand:
- Lists private pages if user has permission to see them
- Light weight mode for sites with only 2 levels of pages
If you’re interested in the origins of this plugin and how it works under the hood, check out this blog post.
As always, feedback and suggestions are welcome!


Brilliant, thank you!!!! This has solved my problem with more than one type of custom wordpress navigation. A total blessing for me, who couldn’t entirely follow your article about get_post_ancestors but desperately needs page “sections”. Donation on the way!
Thanks for this, great that you’ve attempted to solve this and package it up as a widget! Good work.
I’ve got a bit of an odd output though and I’m not sure if it’s meant to work this way or not, but I looks odd to me. If I output the widget and only show the sibling and children and I’m three levels down, I get this:
A1a
A1b
A1
A2
A
B
C
D
So each level down gets output on top of the last one, and it’s all in a plain list of:
ul
li
li
li
/ul
with nothing to differentiate the levels. On the other hand, if I chose the option in the admin to “Show all pages in section”, I get a proper list:
A
-A1
–A1a
–A1b
and so on. The problem then is that it outputs all the menus and I only want to output the grandparents, parents, siblings and children of current menu. But then I’m running into the problem above..
Any info on this would be greatly appreciated!
Karl – I’m not entirely sure I follow. You’re saying if you’re three levels down (i.e. Top Level Page, Sub Page, Sub-Page of Sub-Page), that the navigation “flattens” instead of being in a hierarchy?
That’s definitely not the expected output, and not what it’s doing in my test environments!
Is there a link where I could see this in action? I may need to see “under the hood” of your own setup. The first that springs to mind is that there may be a conflicting plug-in… ?
thank you _so much_ for this, this is almost exactly what i wanted
.
let’s see if i can explain this properly.
when we’re on a top level page with children, the plugin lists all children, obviously.
now if we’re on a child page, the plugin lists all children of the parent page, including the child page we’re on _linking_ it basically to itself. i don’t think it’s good.
i wish there was an option to configure the plugin to exclude this behavior.
would this be possible? do you find it would be an important addition to the current functionality?
again, thanks so much, you really made my day.
This may be obvious, but how do I keep the ’section’ nav item highlighted when on children and grandchildren pages?
April – Can you clarify the question? Are you asking how you differentiate a page that’s within the current hierarchy? So if you’re on a third level page, the second level page (its parent) should stand out?
Assuming you’re looking for something along those lines, the answer is to use CSS. If you look at the HTML you’ll notice that the LI tags have a variety of classes (i.e. “current_page_ancestor”) that your stylesheet can reference to provide some emphasis or other differentiated styling.
Hmm, that’s the problem – for some reason my top level nav does not have the class “current_page_ancestor” applied to it when on it’s child/grandchild pages. For instance, on this page here on your site I see that “Software” does have that class, but on my site it does not even on the equivalent sub-sub-page. I’m not sure I setup the plugin call right even though it works like a charm in all other ways.
I have set up my nav like so:
<?php simple_section_nav(“”,”"); ?>
Where the “toplevelnav” are the 4 sections, and supposed to be ancestors, and “nav” includes all of the pages and subpages underneath it.
Do you see any obvious reasons that the ancestor class wouldn’t be applying to the “toplevelnav”?
oops, let me try that code again..
<?php simple_section_nav("",""); ?>
hmm.. code tags?
Never mind my highlighting question afterall! I ended up styling the top level ‘Section’ nav using conditional tags instead.
April – sorry for the delayed response!
I’m still curious about the problem. You did call the plug-in correctly.
It sounds like there’s not an issue with the “section nav”, but your top level nav retaining proper styles? I assume you’re using the generic wp_list_pages to generate that? Is there a URL I can look at?
Right, the top level nav doesn’t seem to be retaining the “current_page_ancestor” styles. The conditional tags aren’t the best option so I appreciate any insight you have on how to make the styles work.
Here’s the URL: http://www.treelightdesign.com/stage/features/
Yes, the top level nav (Features / Customers / Benefits / Pricing) is using a simple wp_list_pages tag.
Then everything in the dropdown menus is called by the simple_section_nav tag.
And to keep things simple, I made the following styles:
.current_page_item: orange border
.current_page_parent: red border
.current_page_ancestor: green border
So when I’m on a grandchild page of “Features”, (http://www.treelightdesign.com/stage/features/modules/invoicing/) then shouldn’t “Features” be green?
Thanks for your assistance!
Hey, great plugin you have here.
I wonder what the feature “Ability to treat blog categories as sub pages of blog home”. Is it like the feature “Categories menu” from the plugin WPML.org ?
@Jake,
Sorry for the delayed response, I was working on other parts of the site.
Yep, could be a conflicting plugin, the behaviour is a bit strange. It does flatten three levels down for me like you describe, but in reverse order (sub-sub pages on top).. confusing indeed! Wish I could send a link, but it’s on a test-server.
Haven’t had a chance to deactivate all plugins or trial it further, for this project I went with the Fold Page List plugin in the end, with a snippet to split out just the 2nd level down http://www.brustpumpe.de/fold-page-list-geteilte-navigation/
Might have a look at your plugin again for another project, good luck with it!
NicoMollet – that feature (which I hope to roll out in the next update) allows you to treat blog categories as though they’re sub pages of the blog page. So, for example, if you create a top level page called “Blog”, and make that your blog page in the settings, when you visit that top level page, the Simple Section Navigation would output permalinks to the top level blog categories as sub pages of “blog”.
Hope this makes sense!
Karl and I are having the same issue. Though, I have no other plugins installed.
The loss of hierarchy issue seems to be resolved… download the latest build (1.1.2) for the fix!
Many thanks. Super nice plugin, guys!
I’m looking for a navigation plugin that does the following:
- Shows only root pages (when current page is home)
- Shows root pages + sub-pages of the current page
To me it seems like this plugin only shows the siblings/children of current page. Not the whole hierarchy.
I want this view:
(Current page: Home):
- Section A
- Section B
- Section C
- Section D
(Current page: Section B, therefore I can see the sub-pages):
- Section A
- Section B
– Subsection B1
– Subsection B2
- Section C
- Section D
Is this supported?
Svein – that’s close to what this plug-in does, but not exactly.
The plug-in can be set to show top level pages (“sections”) on the home page, but once inside of each section it uses that top level page (i.e. “Section B”) as the heading for the navigation, with its children listed beneath. Using your example:
(Current page: Home):
Heading: Home
- Section A
- Section B
- Section C
- Section D
(Current page: Section B, therefore I can see the sub-pages):
Heading: Section B
- Subsection B1
- Subsection B2
(Current page: Subsection B1):
Heading: Section B
- Subsection B1
–B1-1
–B1-2
- Subsection B2
The intent was not really to create a site-wide “smart” navigation; the typical use case is a site with a persistent list of top level pages in the heading, that wants a sidebar with navigation within that section, once inside one of those top level pages.
The functionality you’re seeking is most easily accomplished with CSS. Just use descending LI classes combined with various “current” classes to control display of sub pages.
If you don’t want to use the CSS approach, and would like to sponsor a small modification to this plug-in to support your use case, let me know and I’ll email you with the details.
Hi Jake,
I have one quick question.
How can I show the children of the sub page under its parent rather than on the top.
It ruins the need of it as it start showing the sub pages on the top, where as it should show them under the specific child to which they are parent of.
Please help.
any help regarding CSS or Code would be appreciated.
Roger – they are supposed to show up as children of the parent page. It appears my “fix” in 1.1.2 actually breaks some previously working instances. It appears to be rooted in a WordPress bug related to the “include” option. I am going to put out another update very soon.
Hi Jake,
Thank you very much for your reply.
My question was actually exactly as Svein Are’s. The code is perfect and generated children perfectly but why does it show it at the top?
I actually, and I am sure many other would like to show the third level children under the 2nd level parent. Just like Svein Are wanted.
I will be very thankful if you can give a fix for that within PHP. That would be really helpful.
Any help Jake
Roger – I have emailed you with a beta version that may fix your problem. I’m trying to work around an apparent bug with WordPress page lists and the “include” option.
Thank you for this plugin – this is exactly what I was looking for! Would love to have an admin option to turn the section title off, but that can be done easily enough in the CSS.
Also, you probably have this documented somewhere that I missed, but the user needs to explicitly assign page order numbers to each page – for whatever reason if the value is left at the default of “0″, the subpages were jumping to the top of the nav list instead of staying under the parent.
Edwards – thanks for the feedback.
I’m aware of the page order bug… it’s tied to the other issues with “flattening” navigation folks have mentioned in the comment. I’m looking at reworking the plug-in a bit to work around what I believe to be a WordPress bug with “include” page listings.
Hi Jake,
I am sorry but I didn’t receive it. Must be some problem. Can you email here instead:- ayishaakram[at]gmail.com
I will be very thankful.
Regards.
Thank you for a valuable plugin. I had tested it some months back and ran into the “flattening” issue. So I had been using the Sub Pages widget (http://wordpress.org/extend/plugins/subpages-widget/) but it does not seem to be supported any longer.
This plugin works very nicely in conjunction with the Page Template Extended plugin (http://wordpress.org/extend/plugins/page-template-extended/ which I am not sure is supported either) allowing for great CMS-like capability. Page id based templates then form the “sections” for the site. Great work!
Loren – glad to hear that the plug-in has been useful!
All – a fix is coming “soon” for the page flattening issue. Unfortunately, I was out for about 10 days, and I’m in catch up mode. In the interim, as someone else indicated, if you explicitly define a page order using a third party plug-in like pageMash or using the page order drop down, the flattening should not occur.
Is there a way of adding the WordPress current_page_item class to the title of the widget?
Loren – we can add that to the next revision.
Jake – That is great! I am still developing the site that I am using this on but it really seems to be exactly what this type of website needed. Thanks again.
[...] actually released a plug-in that makes “section” or “top level page” WordPress navigation a cinch. But there are plenty of reasons outside of navigation that may require you to indentify [...]
Excellent plugin! Simple and elegant. As a feature request, I suggest a sort order option to the settings, so the menu can be displayed alphabetical, by date, page order, page ID, etc. The default is page order, which doesn’t work when you want a large number of pages to be sorted automatically.
Great suggestion, Mike.
We’ll incorporate that, as well as Loren’s suggestion, in the next update.
How do I wrap it in a div so I can stylize just this list? Would it be easier to just call to it from my template? If, so how do I do that? I tried using the call function, but I have no idea how to do that properly. Any help would be wonderful. Thanks!
This plugin is terrific, but I’m having one problem — page/child/grandchild nav are showing up correct, formatting is correct via my CSS, BUT I’m getting an extra blank line at the end of my indented grandchild link list before the child page list continues — i.e (don’t know if my formatting below will show up tho):
PARENT
– Child
– Grandchild
– Next Child
I am completely stumped as to what I need to do in my CSS to fix this. It appears that something is causing that extra line at the end of a child group, because when I switch the setting to display all pages in section, the end break happens in between all Child/Grandchild groups.
Jeff – if you’re using widgets, WordPress automatically wraps the widget in an element (an “li” in the default theme) with a special class name that corresponds to the widget name. In the case of this plugin, the widget’s wrapper gets a “widget_pages” class. You can use that reference to uniquely style this widget.
To output it in a template file, you need to execute the “simple_section_nav();” function in a PHP code block (as explained in the documentation and on the configuration page). You can put whatever you like around, including a “div” tag with a unique ID.
If you need further assistance, please use the “request a quote” button at the top of the page!
Susan: it sounds like you have a “margin-bottom” or “padding-bottom” property attached to unordered lists (UL’s). Do you have a link where we can see this in action?
If this is not a bug with the extension, but simply a matter of CSS expertise, I’d politely ask that you strongly consider a small donation in exchange for our time assisting you.
Thanks — no margin-bottom or padding-bottom properties at all on this list — I was just wondering if there was something in the plugin that automatically added that extra line. I’m now sure it’s my CSS, because when I try the list without it, all is OK. I’ll keep plugging away.
And I do plan on donating as soon as I get everything working — thanks a bunch.
Susan – good luck with the CSS! The forthcoming donation is very appreciated… it’s hard for us to walk the line between extension support and supporting people’s sites!
[...] make “section”, or “top level page” WordPress navigation a cinch, such as Simple Section Navigation. However, there are plenty of instances (outside of navigation) where the template may need to be [...]
Hi,
Prior to upgrading to the last version I used
< ?php simple_section_nav("",""); ?>
to output the navigation in a css-themable block. This doesn’t seem to work any longer. Any hints?
Addtion to the above (the form stripped my code)
I added a div with a class between the fist quote mark, and a closing div in the second.
[...] ou “nível superior página” WordPress uma cincha navegação, como a simples secção Navegação. No entanto, há muitas instâncias (fora de navegação), onde o modelo pode estar conscientes da [...]
I’m excited to find this plugin but am not quite able to make it do what I want. I’ll try to explain in simple terms. Here’s my site’s navigation.
Section A
Sub Page A1
Sub Page A2
Section B
Sub Page B1
Sub Page B2
When I’m on either of the section landing pages, I see just what I would expect. I see the title of the section, and a listing of the sub-pages.
The problem is when I navigate to a child page. What I want to see is the same “section” navigation that I see when I’m on the section “landing page”. But instead, it’s now treating the “Sub Page A1″ as the “parent” and trying to list children pages (which don’t exist).
I’m hopeful that this is possible because the screenshot at the top of this page shows exactly what I want. in that screenshot, there’s a page called “Clinics” and to the right you can see a sectional navigation called “Get Informed” with Clinics as well as it’s other children all listed.
Thanks in advance for the advice/response.
WP Freak – the expected behavior is the behavior you *should* be encountering. Not sure why you’re not getting that. Do you have a link I can look at?
Can you confirm that you’re using version 2.7 or newer of WordPress, and the current version of the plug-in (1.3)?
Jake, Thanks for the response.
I am using the latest wordpress 2.8.2 and the latest version of your plugin.
Unfortunately, this afternoon I ended up just hard-coding some PHP to accomplish what I wanted into my sidebar, so I don’t have a link for you to look at. If the client isn’t happy with my self-rolled solution I may come back to you and see if you can troubleshoot it, but for now I think I’m good.
Hi Jake,
I seem to have run into a conflict between the Simple Section Nav plugin and the Role Scoper plugin. It seems the RS settings override the SSN settings. I didn’t see any comment on this anywhere and wondered if you have run into this at all? I have posted a couple of screen shots showing the problem in my sidebar list:
http://www.nbseminary.com/wp-content/uploads/image/RS-Conflict01.jpg
http://www.nbseminary.com/wp-content/uploads/image/RS-Conflict02.jpg
I have contacted Kevin at RS and am waiting to see what his take is on this issue.
BTW – thanks for adding current_page_item to the top level. It works nicely.
Loren,
Interesting result. I’m not familiar with Role Scoper, and not sure what would could cause the conflict. Simple Section Nav does not use any action hooks or filters, it simply uses straight forward WordPress calls related to getting posts and post ancestors, so (though it’s easy for me to say) the problem is unlikely to be on our end.
My guess would be that RS is hooking into the get posts (or other post listing) functions and overriding the default behavior that SSN relies on.
If you can’t get this figured out, we can provide a more in depth analysis (or potentially a different solution that works) through our services, if there’s some budget for that.
WP Freak – along these lines, I’d bet you have a conflicting plug-in. I’ve double checked, and it’s working as expected on at least 2 WP 2.8.2 sites in a live environment…
Hi Jake,
Yes, I think it is something to do with RS and I am waiting for a response from the author.
If I could suggest another feature to add to SSN it would be to give the option for allowing logged-in users to view the list of private pages to which they are entitled (i.e. if they can read them). Currently, even for an admin, private pages are not listed. Branko Ajzele addresses this issue with a different solution over at http://activecodeline.com/create-a-menu-for-private-pages-and-posts-in-wordpress/ .
This would be a cool addition to SSN as this functionality would again significantly enhance it’s capabilities as a CMS component for WP. Thanks, my friend!
Hi Jake,
I installed the plugin and its working great. I am running into a small problem on a few of my pages that display posts. The sub nav disappears. This might fall back on my lack of WP knowledge but I didn’t know if you had any advice to get this corrected?
Looks good here. Normal page.
http://arizonaoliveoil.com/about/
Page with posts it disappears.
http://arizonaoliveoil.com/news/
Reappears on subpage of News.
http://arizonaoliveoil.com/news/calendar/
Thanks for your time. Matt
Mike – turns out you caught a bug that occurs when you try to use the section navigation on a posts page (and archives/posts as a result).
v1.3.1 was released this evening, and fixes this.
Loren – we’ll definitely add private page support. To clarify, anyone with subscriber or higher permissions would be able to read private pages, correct? That’s the default WordPress logic, I believe.
I believe that read_private_pages and read_private_posts does not start until the Editor level – unless assigned specifically with a plugin like Role Manager. However default to WordPress the links do not show up when reading the page even for administrators. So current_user_can(’some_role’) functionality needs to be added (I think!). This needs to be an option as plugins like Role Scoper already include this function.
If I understand the WP logic correctly you need to include post_status = ‘publish’ and/or post_status = ‘private’ in your query.
Hi, I need exactly what a previous poster does (see below) — the whole hierarchy showing, as appropriate, not controlled by CSS show/hide. Also, I don’t need it as a widget. I will be hardwiring it and just need a call to the main function. What would it take for you to modify your script?
I want this view:
(Current page: Home):
- Section A
- Section B
- Section C
- Section D
(Current page: Section B, therefore I can see the subpages):
- Section A
- Section B
– Subsection B1
– Subsection B2
- Section C
- Section D
(Current page: Section B1, therefore I can see the subsubpages):
- Section A
- Section B
– Subsection B1
– Subsubsection B1.1
– Subsubsection B1.2
– Subsection B2
- Section C
- Section D
Love the plugin
I was wondering if you knew of a simple way to make it so that on a grandchild page, it will only list it’s siblings, or only siblings + it’s own parent.
Currently it lists siblings as well as all parent level pages.
A
A1
1A
2A
A2
B
B1
1B
2B
B2
So If I am at 2B in the above example, I would love to have it so that it displays only B1/1b/2b – right now it shows
A1
A2
B1
1B
2B
B2
Thanks
Doh, formatting didn’t hold in the above. Hope this displays what I mean better.
Section A
Sub-Section A1
Sub-sub-section 1A
Sub-sub-section 2A
Sub-Section A2
Section B
Sub-Section B1
Sub-sub-section 1B
Sub-sub-section 2B
Sub-Section B2
Hi Jake,
The SSN widget does not seem to allow for multiple instances of itself. Is that something that you will be adding? It would be very helpful in some applications.
Thanks!
Any chance that an option can be added to disable the a link on the current page? I know I can style current_page_item so that it appears to be non-linked text, but it seems that removing the link would be more efficient.
Also, any chance that this functionality can be called by a shortcode? I’ve been using the “Section Widget” plugin for page-specific sidebars and would love to be able to add SSN into the mix to better control where it appears.
ElShaddai – we’ll add both of those to the list of future enhancements.
Hi Jake,
I used your plugin on a wordpress installation of mine and it works great ! Now I installed it on another wordpress blog (same template, both installations 2.8.4) but I get the same behaviour as WPFreak. I have absolute no idea, what causes this problem. On the first site, everything works perfectly (only 1 parent and 4 childs). Even when I visit the child pages, the plugins show the parent and the other children on the same level.
On the other site nothing is displayed, if I select a child page. Any Ideas ?
Achim – very strange. The way the current version of the plug-in is structured, it’s hard to see how that could happen. The most likely cause is a conflicting plug-in that is hooking the functions I’m using.
If you turn off all the other plug-ins, does it work? Or are you still seeing the issue?
Hi Jake,
I will give it a try tomorrow !
Hello Jake, love the plugin. Only thing is I don’t think it’s working right for me. The widget shows up at the parent level (shows children and grandchildren) but not on any of the other pages (children and grandchildren). I’m running WP 2.8.4. I’ve deactivated all plugins but to no avail. Any help would be appreciated.
Bob – I’ll be in touch. Achim – any luck turning off the other plug-ins on your end?
Great work guys. This just saved me a whole lot of wp_list_pages fiddling!
[...] their favourites: today I’ve installed Akismet, Contact Form 7, Google Analyticator, Simple Section Navigation Widget and Unfiltered [...]
Accessibility. It’s hugely important in reading. This plug-in is wonderful and appears to be one of a kind. I’m surprised by that; I guess not nearly as many people are using WP as a CMS as I thought. I’m also surprised WP’s inherent coding is so difficult to put serviceable menus and context sensitive table of contents in place. What a great plug-in!
For those of us who are CSS challenged, I wonder if you could publish the names of the variables to reference your titles and the current page so we can incorporate them into our themes; the before and after fields don’t work in my widget bar, and I’d like to bold the current page on the sidebar.
Thanks again for the wonderful plug-in.
Thank you so much for this, this is almost exactly what i wanted !
Hi Jake,
no, disabling the plugins didn’t help. Now I have another site, same template, same WP Version (2.8.6) and the same behaviour. If you are interested, i can send you login credentials to a test site who shows this behaviour.
Hi,
Wish I could try out this plug in! But after installing, I don’t see the Section Nav configuration page or a widget on the widgets page.
I’m using ver. 2.8.6 and the Atahualpa theme. Any thoughts as to what might be going on? Known incompatibilities? Thanks!
Hi Sharon – sounds like it didn’t activate correctly? I assume you “activated” the plug-in after installing it… ?
Hi,
Great plugin idea! Hope that I can get it working . . .
I’m trying to implement this on a test site and it works when I add it to the main page template’s content section, just before the WP loop is called. See here: http://abdesignweb.com/WP-test/about-us/
But if it is added via the widget in the sidebar, it doesn’t process the php call and no list shows, see here: http://abdesignweb.com/WP-test/candidates-issues/test-page-for-candidates-issues/. If I hard code it before the widgetized area of the sidebar, the same result happens, no list.
If I put the code in the content area of that last page it will show up the list.
Any clues as to what I’m doing wrong?
Thanks,
Arthur
I can’t be sure without looking at the code, Arthur. My guess would be that you have a problem in your template – that your new a post query that overrides the default page information somewhere before that widget area.
>>My guess would be that you have a problem in your template<<
That was the problem. I'm using Ajaxed WP and to allow the pagination effects on "pages" as opposed to "posts" the following code has to be placed just before calling the loop in the page template:
[code]
is_page = false;
$wp_query->is_archive = true; ?>
[/code] (Hope I did that correctly)
When I used your insertion code just before this php call, it works, if placed after, not at all. Since I was calling the sidebar.php file below the content div closing, which was after that code block, it didn’t work.
After moving the sidebars call above this code, it now works fine: http://abdesignweb.com/WP-test/candidates-issues/test-page-for-candidates-issues/
Now, all I have to do if work on the styling.
Thanks for the quick response!
Arthur
[...] order to improve server performance as well as making pages load quicker. Another great plugin is Simple Section Navigation which is essential for CMS installations. It allows the display of page siblings, parents and [...]