Plugin Directory

CMS Navigation

Author: ICanLocalize

Update: Our new plugin, WPML, includes the functionality of CMS Navigation and is recommended for new designs.

It features much cleaner and simpler HTML and customization via the admin screen. Check out the migration instructions from CMS Navigation to WPML.

Do you want to use WordPress to create a full website, with easy navigation and menus? This plugin will let you add essential navigation functions to your template, including:

  • Top navigation bar, listing the top-level pages and their children (as drop-down items).
  • Breadcrumbs trail navigation that shows the path to the current page all the way from the home page.
  • Left navigation that shows where the visitor is next to the page's parent and nearby pages.

No configuration is required. To use, add the calls that create each navigation element to your template. These calls can be added to any WP template

There are three template functions that can be used for displaying the navigation sections

Drop down top menu

Function: cmsnavigationmenunav($order='menuorder', $showcatmenu=false, $catmenu_title='News')

This will display the top navigation - the top level pages with their sub pages as drop down elements. Additionally - if specified - the menu will include the top level post categories at the end.

Normally, this function is added to your header.php file, so that it applies to the entire website.

Examples:

  • <?php cms_navigation_menu_nav() ?> - include without the categories menu.
  • <?php cms_navigation_menu_nav('post_title') ?> - sort items by title.
  • <?php cms_navigation_menu_nav('menu_order',true,'News') ?> - sort items according to the 'order' field.

Breadcrumbs trail navigation

Function: cmsnavigationbreadcrumb()

This will display a path from the current page all the way to the home page. It's useful for visitors who land in your website to know where they are and be able to navigate to relevant pages.

For posts

Home >> CATEGORY-NAME >> Post title

For pages

Home >> Parent pages... >> Page title

All the items back to the home page will be clickable.

You can add this function to single.php and page.php so that it will produce trail navigation for every page or post.

Sidebar navigation

Function: cmsnavigationpagenavigation($order='menuorder')

This will display the sidebar navigation for pages. It will show a tree created the page parents and it's 'brother' pages (other children to the same parent).

This function should be added to page.php, as it provides local navigation between pages.

Live example using this plugin

Baripedia is using this plugin (and other CMS related plugins we've written).

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(13 ratings)