Changeset 925493
- Timestamp:
- 06/03/2014 05:16:36 AM (12 years ago)
- Location:
- page-specific-menu-items
- Files:
-
- 4 edited
- 1 copied
-
tags/1.4.4 (copied) (copied from page-specific-menu-items/trunk)
-
tags/1.4.4/page-specific-menu-items.php (modified) (2 diffs)
-
tags/1.4.4/readme.txt (modified) (2 diffs)
-
trunk/page-specific-menu-items.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
page-specific-menu-items/tags/1.4.4/page-specific-menu-items.php
r911922 r925493 54 54 }else { // Frontend 55 55 56 add_action( 'wp_ head', array($this, 'psmi_hide_menuitems'));56 add_action( 'wp_footer', array($this, 'psmi_hide_menuitems')); 57 57 add_filter( 'wp_nav_menu_objects', array($this, 'psmi_add_menu_class'), 10, 2); 58 58 … … 304 304 305 305 echo '<style type="text/css" media="screen">'; 306 echo ' li.menu-item.hide_this_item{ display:none !important; }';306 echo '.menu-item.hide_this_item{ display:none !important; }'; 307 307 echo '</style>'; 308 308 -
page-specific-menu-items/tags/1.4.4/readme.txt
r912449 r925493 3 3 Requires at least: 3.5 4 4 Tested up to: 3.9.1 5 Stable tag: 1.4. 35 Stable tag: 1.4.4 6 6 License: GPLv3 7 7 Contributors: dharmapoudel … … 69 69 == Changelog == 70 70 71 = 1.4.4 (2014-6-3) = 72 * Removed li from the plugin styles (some users are not using li for menu items) 73 * Moved plugin styles to footer 74 71 75 = 1.4.3 (2014-5-10) = 72 76 * Added more weight to the class 'hide_this_item' -
page-specific-menu-items/trunk/page-specific-menu-items.php
r911922 r925493 54 54 }else { // Frontend 55 55 56 add_action( 'wp_ head', array($this, 'psmi_hide_menuitems'));56 add_action( 'wp_footer', array($this, 'psmi_hide_menuitems')); 57 57 add_filter( 'wp_nav_menu_objects', array($this, 'psmi_add_menu_class'), 10, 2); 58 58 … … 304 304 305 305 echo '<style type="text/css" media="screen">'; 306 echo ' li.menu-item.hide_this_item{ display:none !important; }';306 echo '.menu-item.hide_this_item{ display:none !important; }'; 307 307 echo '</style>'; 308 308 -
page-specific-menu-items/trunk/readme.txt
r912449 r925493 3 3 Requires at least: 3.5 4 4 Tested up to: 3.9.1 5 Stable tag: 1.4. 35 Stable tag: 1.4.4 6 6 License: GPLv3 7 7 Contributors: dharmapoudel … … 69 69 == Changelog == 70 70 71 = 1.4.4 (2014-6-3) = 72 * Removed li from the plugin styles (some users are not using li for menu items) 73 * Moved plugin styles to footer 74 71 75 = 1.4.3 (2014-5-10) = 72 76 * Added more weight to the class 'hide_this_item'
Note: See TracChangeset
for help on using the changeset viewer.