Plugin Directory

Changeset 1382914


Ignore:
Timestamp:
03/31/2016 10:19:50 AM (10 years ago)
Author:
wizzud
Message:

tag 3.2.5

Location:
custom-menu-wizard/tags/3.2.5
Files:
9 copied

Legend:

Unmodified
Added
Removed
  • custom-menu-wizard/tags/3.2.5/readme.txt

    r1362507 r1382914  
    55Requires at least: 3.6
    66Tested up to: 4.4
    7 Stable tag: 3.2.4
     7Stable tag: 3.2.5
    88License: GPLv2 or Later
    99
     
    1414This plugin is a boosted version of the WordPress "Custom Menu" widget.
    1515It provides full control over most of the parameters available when calling WP's [wp_nav_menu()](http://codex.wordpress.org/Function_Reference/wp_nav_menu) function, as well as providing pre-filtering of the menu items in order to be able to select a specific portion of the custom menu. It also automatically adds a couple of custom classes. And there's a shortcode that enables you to include the widget's output in your content.
     16
     17**Important!** This plugin provides ***nothing*** - *zip, zilch, nada, bupkis* - in the way of frontend styling! The
     18appearance of any final output is down to you and your theme, so if you're just looking for something to re-style
     19a menu then I'm sorry but this plugin *won't do that*!
    1620
    1721Features include:
     
    502506The shortcode is **`[cmwizard]`**.
    503507Most of the attributes reflect the options available to the widget, but some have been simplified for easier use in the shortcode format.
    504 Please note that the **Hide Widget if Empty** option is not available to the shortcode : it is set to enabled, and if there are no menu items
    505 found then there will be no output from the shortcode.
     508If there are no menu items as a result of the filtering, then there will be no output from the shortcode.
    506509
    507510The simplest way to build a shortcode is to use a widget : as you set options, the equivalent shortcode is displayed at the base of
    508511the widget (v3+) and the base of the "assist". The widget itself need not be assigned to a widget area, so you can construct your
    509 shortcode using a widget in the Inactive Widgets area if you have no need for an active one. Please remember that any options you play
    510 with while constructing your shortcode ***do not have to be Saved*** to the widget itself! Just copy-paste the shortcode when
    511 you are happy with it.
     512shortcode using a widget in the Inactive Widgets area if you have no need for an active one.
     513
     514Note that as long as you are **not** using the `widget=N` attribute, then you don't need to save the widget itself :
     515just copy-paste the shortcode when you are happy with it.
    512516
    513517= widget =
     
    525529Using this attribute reduces the shortcode length, and may cut down on maintenance where
    526530you have the same shortcode in a number of places ... as long as you are prepared to keep the widget instance (even if it's in the
    527 Inactive Widgets area). You can override the widget instance's settings by supplying any of the standard shortcode attributes.
     531Inactive Widgets area). You can override the widget instance's settings by supplying any of the other standard shortcode attributes.
    528532
    529533= title =
     
    822826`ul ul { margin-left: 1em; }`
    823827
    824 ...however, I have found that things a generally never that straightforward, particularly when menus with
    825 links in them are involved, so I'm afraid you might to have to experiment a bit.
     828...however, I have found that things are generally never that straightforward, particularly when menus with
     829links in them are involved, so I'm afraid you might have to experiment a bit.
    826830
    827831= How can I create a horizontal menu? =
     
    961965
    962966== Changelog ==
     967
     968= 3.2.5 =
     969* addition : add cmw-menu-item-had-children class to any menu item that originally had children, regardless of whether it still does when output
    963970
    964971= 3.2.4 =
     
    11251132== Upgrade Notice ==
    11261133
     1134= 3.2.5 =
     1135Adds cmw-menu-item-had-children class to any menu item that originally had children, regardless of whether it still does when output.
     1136
    11271137= 3.2.4 =
    11281138Fix to improve handling of dynamically-generated items that have negative item ids, and that get appended to the list of items.
Note: See TracChangeset for help on using the changeset viewer.