qaisarferoz / wordpress-hierarchy-navigation-widget

Widget and shortcode that automatically collect and display the childern and/or sibling pages within a wordpress site

Home Page:http://refactoredfox.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WordPress Hierarchy Navigation

Tags: navigation, section, cms, pages, top level, hierarchy, Refactored Fox Requires at least: 4.3 Tested up to: 4.7.4 Stable tag: 4.3 License: GPL2

Description

Adds a widget and shortcode to your theme for hierarchy based navigation.

Shows all page siblings (except on the top level page if disabled), 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:

  1. Override standard behavior and have the widget show all pages in the current section
  2. Determine whether the widget should show the top level page
  3. Provide a list of pages to exclude from the output
  4. Determine whether the widget should show all top level pages
  5. Use a specific widget title (i.e. In This Section), or just use the top level page title
  6. Include page thumbnails in the menu
  7. 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.

Installation

  1. Install easily with the WordPress plugin control panel or manually download the plugin and upload the extracted folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Widget users can add it to the sidebar by going to the "Widgets" menu under "Appearance" and adding the "WPHN Page Hierarchy" widget. Open the widget to configure.
  4. Template authors can call the navigation by using the the_wphn_page_heirarchy function. The function accepts a single argument in the form of a classical WordPress set of parameters.

Changelog

= 1.1 =

  • Update - Re-Factored core function class and widget class
  • Update - Updated Walker Class with new parameters
  • Add - Shortcode, [wphn_page_menu]
  • Add - Nav output now displays custom post hierarchies in addition to default pages

= 1.0 =

  • Initial Release

About

Widget and shortcode that automatically collect and display the childern and/or sibling pages within a wordpress site

http://refactoredfox.com


Languages

Language:PHP 100.0%