GetSimple Child Menu Plugin
This GetSimple CMS plugin will automatically print links to children and siblings as a sub-menu on parent and child pages.

The "menu text", (or if it does not exist the "title") of the parent and each child/sibling will be printed, with a link, on all parent and child pages.
The child menu is sorted by the "menu priority" (or if it does not exist the page "Slug/URL" A-Z)
Simple and effective, that´s what it´s all about.

The child menu also implements a caching mechanism so that the server will not need to look through all page-files each time the child menu is generated, this will ease the load on the server. The cache is cleared whenever a page is saved and a new cache file is generated for each page the first time someone visits the page.

After adding the Child menu plugin to GetSimple you will need to call the function
<?php go_child_menu(); ?>
in the template.php document wherever you want to print the menu (you should not remove or replace anything in the template, just add the above function where you want the child menu to be

Nothing will be printed if the active page does not have any children or siblings (unless you manually edit on line 200).
You will probably also want to put something like the below in your css-file:

#child_menu {
float: left; width: 140px;
padding: 0px 20px;
margin-bottom: 20px;
/*border-right: 1px dashed #DFE1E0;*/
#child_menu p {
font-size: 11px; text-transform: uppercase;
text-align:left; margin: 0px;
padding-top: 5px;
padding-bottom: 5px;
line-height: normal;
border-bottom: 1px dashed #DFE1E0;
#child_menu .current a {
color: #186EA1;
font-weight: bold;
#child_menu #parent a {
/*color: #FF4C0C;*/
#child_menu #parent {
/*display: none;*/
#child_menu a {
color: #444444;
#child_menu a:hover {
color: #FFA810;

New in version 1.8

-Fixed a bug that could escape apostrophes and other special characters.

-Fixed a bug that could mess up child menu sorting (above 10) on some operating systems.

-Improved documentation (in the file).

New in version 1.7
-Fixed a rare sorting bug that was introduced in version 1.6.

New in version 1.6
-The plugin will now honor menu setting "priority" for sorting (if it is set).
-The plugin will now honor "menu text" if it is set, otherwise it will fall back to the page title.

New in version 1.5
-Added class=current" on the active page.

New in version 1.4
-The child menu should now be sorted A-Z on all server platforms.

New in version 1.3
-The plugin will now also print the parent page at the top of the menu. It can be hidden with the css-file.

Get the plugin! (v. 1.8)

Please report bugs or comments.

Other sites that are using the plugin: