Advanced Sidebar Menu - Version 4.3.4

Version Description

Download this release

Release Info

Developer Mat Lipe
Plugin Icon 128x128 Advanced Sidebar Menu
Version 4.3.4
Comparing to
See all releases

Code changes from version 4.3.3 to 4.3.4

advanced-sidebar-menu.php CHANGED
@@ -4,9 +4,9 @@ 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.3.3
8
  Author URI: http://lipeimagination.info
9
- Since: 6.13.13
10
  */
11
 
12
 
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.3.4
8
  Author URI: http://lipeimagination.info
9
+ Since: 7.4.13
10
  */
11
 
12
 
lib/advancedSidebarMenu.php CHANGED
@@ -4,7 +4,7 @@
4
  /**
5
  * These Functions are Specific to the Advanced Sidebar Menu
6
  * @author Mat Lipe
7
- * @since 6.26.13
8
  *
9
  * @package Advanced Sidebar Menu
10
  */
@@ -129,7 +129,7 @@ class advancedSidebarMenu{
129
  * @uses called by the widget view page_list.php
130
  * @since 4.0
131
  *
132
- * @since 4.7.13
133
  */
134
  function displayGrandChildMenu($page){
135
  static $count = 0;
@@ -144,6 +144,8 @@ class advancedSidebarMenu{
144
  $content .= sprintf('<ul class="grandchild-sidebar-menu level-%s children">',$count );
145
  foreach( $children as $child ){
146
 
 
 
147
 
148
  $args = array(
149
  'post_type' => $this->post_type,
@@ -151,7 +153,6 @@ class advancedSidebarMenu{
151
  'title_li' => '',
152
  'echo' => 0,
153
  'depth' => 1,
154
- 'exclude' => join(',',$this->exclude),
155
  'include' => $child->ID
156
  );
157
 
4
  /**
5
  * These Functions are Specific to the Advanced Sidebar Menu
6
  * @author Mat Lipe
7
+ * @since 7.4.13
8
  *
9
  * @package Advanced Sidebar Menu
10
  */
129
  * @uses called by the widget view page_list.php
130
  * @since 4.0
131
  *
132
+ * @since 7.4.13
133
  */
134
  function displayGrandChildMenu($page){
135
  static $count = 0;
144
  $content .= sprintf('<ul class="grandchild-sidebar-menu level-%s children">',$count );
145
  foreach( $children as $child ){
146
 
147
+ //If this page should be excluded bail
148
+ if( in_array($child->ID, $this->exclude) ) continue;
149
 
150
  $args = array(
151
  'post_type' => $this->post_type,
153
  'title_li' => '',
154
  'echo' => 0,
155
  'depth' => 1,
 
156
  'include' => $child->ID
157
  );
158
 
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.3.3
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.3.4
8
 
9
  Creates a widget for both page and categories that will display the current page/category and all child pages or categories.
10
 
views/sidebar-menu.css CHANGED
@@ -33,3 +33,7 @@
33
  .advanced-sidebar-menu li.current_page_item a{
34
  font-weight: bold;
35
  }
 
 
 
 
33
  .advanced-sidebar-menu li.current_page_item a{
34
  font-weight: bold;
35
  }
36
+
37
+ .advanced-sidebar-menu li.current_page_item li a{
38
+ font-weight: normal;
39
+ }