Version Description
Download this release
Release Info
Developer | Mat Lipe |
Plugin | Advanced Sidebar Menu |
Version | 4.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.0.0 to 4.0.1
- advanced-sidebar-menu.php +1 -1
- lib/advancedSidebarMenu.php +4 -2
- readme.txt +1 -1
advanced-sidebar-menu.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Advanced Sidebar Menu
|
|
4 |
Plugin URI: http://lipeimagination.info/wordpress/advanced-sidebar-menu/
|
5 |
Description: Creates dynamic menu based on child/parent relationship.
|
6 |
Author: Mat Lipe
|
7 |
-
Version: 4.0.
|
8 |
Author URI: http://lipeimagination.info
|
9 |
Since: 4.5.13
|
10 |
*/
|
4 |
Plugin URI: http://lipeimagination.info/wordpress/advanced-sidebar-menu/
|
5 |
Description: Creates dynamic menu based on child/parent relationship.
|
6 |
Author: Mat Lipe
|
7 |
+
Version: 4.0.1
|
8 |
Author URI: http://lipeimagination.info
|
9 |
Since: 4.5.13
|
10 |
*/
|
lib/advancedSidebarMenu.php
CHANGED
@@ -59,8 +59,9 @@ class advancedSidebarMenu{
|
|
59 |
//if there are no children of the current page bail
|
60 |
if( !$children = $this->page_children($page->ID) ) return;
|
61 |
|
|
|
62 |
foreach( $children as $child ){
|
63 |
-
|
64 |
|
65 |
$args = array(
|
66 |
'post_type' => $this->post_type,
|
@@ -78,8 +79,9 @@ class advancedSidebarMenu{
|
|
78 |
if( $this->page_ancestor($child) ){
|
79 |
$this->displayGrandChildMenu($child);
|
80 |
}
|
81 |
-
|
82 |
}
|
|
|
83 |
|
84 |
}
|
85 |
|
59 |
//if there are no children of the current page bail
|
60 |
if( !$children = $this->page_children($page->ID) ) return;
|
61 |
|
62 |
+
printf('<ul class="grandchild-sidebar-menu level-%s">',$count );
|
63 |
foreach( $children as $child ){
|
64 |
+
|
65 |
|
66 |
$args = array(
|
67 |
'post_type' => $this->post_type,
|
79 |
if( $this->page_ancestor($child) ){
|
80 |
$this->displayGrandChildMenu($child);
|
81 |
}
|
82 |
+
|
83 |
}
|
84 |
+
echo '</ul>';
|
85 |
|
86 |
}
|
87 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypa
|
|
4 |
Tags: menus, sidebar menu, heirchy, category menu, pages menu
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.5.1
|
7 |
-
Stable tag: 4.0.
|
8 |
|
9 |
Creates a widget for both page and categories that will display the current page/category and all child pages or categories.
|
10 |
|
4 |
Tags: menus, sidebar menu, heirchy, category menu, pages menu
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.5.1
|
7 |
+
Stable tag: 4.0.1
|
8 |
|
9 |
Creates a widget for both page and categories that will display the current page/category and all child pages or categories.
|
10 |
|