Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hierarchical Menus
#1
This topic is about the GetSimple Hierarchical Menus plugin, a simple plugin allowing you to display hierarchical page menus.

Installation

Download the latest version here, unzip the downloaded files and copy its contents to your plugins folder.

There are various template functions you can use.

Code:
<?php get_hierarchical_navigation(get_page_slug(false)); ?>
displays a hierarchical menu of pages and can be used as a direct replacement for the get_navigation() function.

Code:
<?php get_top_navigation(get_page_slug(false)); ?>
displays the top level menus with no child menus.

Code:
<?php get_child_navigation(get_page_slug(false)); ?>
displays the child menus of the given page. Useful in sidebar.

Code:
<?php get_breadcrumb_navigation(get_page_slug(false), '•', true); ?>
displays a breadcrumb navigation bar (exactly like in default theme).
First parameter is current page slug.
Second is seperator between links. (default: bullet).
Third is boolean to include a "home" link. (default: true).

All functions can have a final parameter set to false that will return the menu html rather than display it.
Reply


Messages In This Thread
Hierarchical Menus - by mrdragonraaar - 2012-11-03, 12:59:46
RE: Hierarchical Menus - by Connie - 2012-11-03, 17:58:54
RE: Hierarchical Menus - by mrdragonraaar - 2012-11-03, 22:26:57
RE: Hierarchical Menus - by mvlcek - 2012-11-03, 23:23:28
RE: Hierarchical Menus - by mrdragonraaar - 2012-11-03, 23:29:02
RE: Hierarchical Menus - by Connie - 2012-11-04, 00:08:10
RE: Hierarchical Menus - by mrdragonraaar - 2012-11-04, 00:10:54
RE: Hierarchical Menus - by lakechicago - 2013-04-22, 21:11:42
RE: Hierarchical Menus - by phpman - 2013-09-30, 06:45:13
RE: Hierarchical Menus - by Carlos - 2012-11-03, 18:23:19
RE: Hierarchical Menus - by andy.storey - 2012-11-09, 07:37:19
RE: Hierarchical Menus - by xStranger - 2012-11-10, 23:27:13
RE: Hierarchical Menus - by mrdragonraaar - 2012-11-19, 09:42:34
RE: Hierarchical Menus - by Oleg06 - 2012-11-19, 17:45:22
RE: Hierarchical Menus - by miagrimm - 2013-01-29, 23:43:08
RE: Hierarchical Menus - by cyberianTiger - 2013-03-27, 15:42:15
RE: Hierarchical Menus - by jbcarey - 2013-04-05, 06:10:08
RE: Hierarchical Menus - by shawn_a - 2013-04-05, 07:46:53
RE: Hierarchical Menus - by jbcarey - 2013-04-05, 07:50:20
RE: Hierarchical Menus - by shawn_a - 2013-04-05, 09:17:10
RE: Hierarchical Menus - by jbcarey - 2013-04-07, 22:36:29
RE: Hierarchical Menus - by shawn_a - 2013-04-08, 00:15:27
RE: Hierarchical Menus - by jbcarey - 2013-04-08, 01:24:29
RE: Hierarchical Menus - by kclaytor - 2016-09-24, 23:57:13
RE: Hierarchical Menus - by Domi - 2020-06-30, 23:19:37
RE: Hierarchical Menus - by Oleg06 - 2020-06-30, 23:33:08
RE: Hierarchical Menus - by Domi - 2020-07-04, 05:13:30
RE: Hierarchical Menus - by jjancel - 2021-11-18, 08:46:15
RE: Hierarchical Menus - by tibbz - 2023-02-17, 06:27:08
RE: Hierarchical Menus - by multicolor - 2023-02-17, 07:36:51
RE: Hierarchical Menus - by mvlcek - 2023-02-18, 05:31:26



Users browsing this thread: 1 Guest(s)