Smart Pages provides smarter navigational links between pages, providing links to parent pages and sibling pages or sub pages, making navigation within a large number of pages much easier for your readers.Smart Pages is based on Michael Wender's WenderHost Subpages widget. Smart Pages can be used just to replace the standard WordPress Pages widget, or it can be also used to automatically provide sub page and parent page links wherever you like.
This software is licensed under the CC-GNU GPL.
If you like Smart Pages, help support it's development and
![]()
if( function_exists('smart_pages') ) {
$links = smart_pages();
if( isset( $links[ 'back' ] ) ) echo $links[ 'back' ];
}
For links to sub-pages add the following code in your theme:
if( function_exists('smart_pages') ) {
$links = smart_pages();
if( isset( $links[ 'children' ] ) ) echo '<ul>' . $links[ 'children' ] . '</ul>';
}
Simply great plugin for WP