Changeset 2569546
- Timestamp:
- 07/21/2021 08:19:30 PM (5 years ago)
- Location:
- sidebar-menu-items/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (3 diffs)
-
public/class-sidebar-menu-items-public.php (modified) (1 diff)
-
sidebar-menu-items.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sidebar-menu-items/trunk/README.txt
r2493619 r2569546 2 2 Contributors: mottodesignstudio 3 3 Donate link: http://motto.ca 4 Tags: mega menu, menu, menu items, nav menu, sidebar 4 Tags: mega menu, menu, menu items, nav menu, sidebar, widget menu 5 5 Requires at least: 3.0.1 6 Tested up to: 5. 6.27 Stable tag: 0.1. 56 Tested up to: 5.8 7 Stable tag: 0.1.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Use sidebar areas within your menus. Simple and flexibleway for making mega menu dropdowns!11 Use sidebars / widget areas within your menus. Simple and flexible way for making mega menu dropdowns! 12 12 13 13 == Description == … … 15 15 This is a very lightweight plugin to simply add your defined sidebar widget areas as standard WordPress menu items. This is mostly useful for creating "mega menu" style dropdown menus. 16 16 17 Current solutions for adding mega menu support come with all sorts of overhead you probably don't need. This plugin uses the default WordPress api to use widgets in your sub menus to add the content you may need in a mega menu . Style as you wish.17 Current solutions for adding mega menu support come with all sorts of overhead you probably don't need. This plugin uses the default WordPress api to use widgets in your sub menus to add the content you may need in a mega menu, such as images, columns, shortcodes and other sub-menus. Style as you wish. 18 18 19 [youtube https://www.youtube.com/watch?v=mw5ABRabXF4 ] 19 20 20 21 == Installation == … … 34 35 35 36 == Changelog == 37 38 = 0.1.6 = 39 Updated readme.txt 36 40 37 41 = 0.1.5 = -
sidebar-menu-items/trunk/public/class-sidebar-menu-items-public.php
r2493619 r2569546 71 71 $item_output = mb_convert_encoding($item_output, 'HTML-ENTITIES', $charset); 72 72 $doc = new DOMDocument; 73 $doc->loadHTML("<html><body>$item_output</body>");73 @$doc->loadHTML("<html><body>$item_output</body>"); 74 74 $sidebar = $doc->createElement('div'); 75 75 $sidebar->setAttribute('class', $class); -
sidebar-menu-items/trunk/sidebar-menu-items.php
r2493619 r2569546 16 16 * Plugin URI: http://github.com/mottodesignstudio/wp-sidebar-menu-items 17 17 * Description: Use sidebar areas within your menus. 18 * Version: 0.1. 518 * Version: 0.1.6 19 19 * Author: Motto 20 20 * Author URI: https://motto.ca … … 35 35 * Rename this for your plugin and update it as you release new versions. 36 36 */ 37 define( 'SIDEBAR_MENU_ITEMS_VERSION', '0.1. 5' );37 define( 'SIDEBAR_MENU_ITEMS_VERSION', '0.1.6' ); 38 38 39 39 /**
Note: See TracChangeset
for help on using the changeset viewer.