Version Description
- Made Custom CSS area available even when a theme is selected. You can now use this area for your theme customizations.
- Fixed
Call undefined function wp_nav_menu on 365
error. - Fixed font-size problems with
Shiny Black
theme. - Removed behaviour fix for IE. Now using only jquery as dropdown fix which comes packed with wordpress.
Download this release
Release Info
Developer | mattsay |
Plugin | Dropdown Menu Widget |
Version | 1.5.3 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.3
- readme.txt +9 -3
- shailan-dropdown.css +2 -2
- shailan.DropDownMenu.php +8 -6
- themes/shiny-black.css +2 -2
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
===
|
2 |
Contributors: mattsay
|
3 |
Donate link: http://shailan.com/donate
|
4 |
Tags: css, dropdown, menu, widget, pages, categories, multi
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.0
|
7 |
-
Stable tag: 1.5.
|
8 |
|
9 |
This widget adds a beatiful vertical/horizontal CSS only dropdown menu of Pages, Categories or Custom navigation menus of your blog.
|
10 |
|
@@ -47,6 +47,12 @@ You can submit errors and bugs using the [online form](http://shailan.com/contac
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
= 1.5.2 =
|
51 |
* Fixed tested version number.
|
52 |
* Added screenshot 2.
|
@@ -69,7 +75,7 @@ You can submit errors and bugs using the [online form](http://shailan.com/contac
|
|
69 |
* Removed exclude pages plugin.
|
70 |
|
71 |
= 1.4.1 =
|
72 |
-
* A minor fix for `Parse error: parse error, expecting
|
73 |
|
74 |
= 1.4.0 =
|
75 |
* Added option for multiline links. If checked a link with more than one word will be wrapped.
|
1 |
+
=== Dropdown Menu Widget ===
|
2 |
Contributors: mattsay
|
3 |
Donate link: http://shailan.com/donate
|
4 |
Tags: css, dropdown, menu, widget, pages, categories, multi
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.0
|
7 |
+
Stable tag: 1.5.3
|
8 |
|
9 |
This widget adds a beatiful vertical/horizontal CSS only dropdown menu of Pages, Categories or Custom navigation menus of your blog.
|
10 |
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 1.5.3 =
|
51 |
+
* Made Custom CSS area available even when a theme is selected. You can now use this area for your theme customizations.
|
52 |
+
* Fixed `Call undefined function wp_nav_menu on 365` error.
|
53 |
+
* Fixed font-size problems with `Shiny Black` theme.
|
54 |
+
* Removed behaviour fix for IE. Now using only jquery as dropdown fix which comes packed with wordpress.
|
55 |
+
|
56 |
= 1.5.2 =
|
57 |
* Fixed tested version number.
|
58 |
* Added screenshot 2.
|
75 |
* Removed exclude pages plugin.
|
76 |
|
77 |
= 1.4.1 =
|
78 |
+
* A minor fix for `Parse error: parse error, expecting 'T_FUNCTION' in C:\wamp\www\wordpress\wp-content\plugins\dropdown-menu-widget\shailan-multi-dropdown.php on line 194` error.
|
79 |
|
80 |
= 1.4.0 =
|
81 |
* Added option for multiline links. If checked a link with more than one word will be wrapped.
|
shailan-dropdown.css
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
/** Remove list styling */
|
4 |
ul.dropdown, ul.dropdown li, ul.dropdown ul { list-style: none; margin: 0; padding: 0; }
|
5 |
|
6 |
-
ul.dropdown { position: relative; z-index: 597; float: left; }
|
7 |
-
* html ul.dropdown, * html ul.dropdown li.hover, * html ul.dropdown li:hover { zoom:1; } /** Added as IE fix */
|
8 |
ul.dropdown li { float: left; vertical-align: middle; zoom: 1; }
|
9 |
* html ul.dropdown li {display:inline;} /** Added as IE fix */
|
10 |
ul.dropdown li a{ padding: .3em .8em; }
|
3 |
/** Remove list styling */
|
4 |
ul.dropdown, ul.dropdown li, ul.dropdown ul { list-style: none; margin: 0; padding: 0; }
|
5 |
|
6 |
+
ul.dropdown { position: relative; z-index: 597; float: left; display:inline; }
|
7 |
+
* html ul.dropdown, * html ul.dropdown li.hover, * html ul.dropdown li:hover { display:inline; zoom:1; } /** Added as IE fix */
|
8 |
ul.dropdown li { float: left; vertical-align: middle; zoom: 1; }
|
9 |
* html ul.dropdown li {display:inline;} /** Added as IE fix */
|
10 |
ul.dropdown li a{ padding: .3em .8em; }
|
shailan.DropDownMenu.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
Plugin Name: Dropdown Menu Widget
|
4 |
Plugin URI: http://shailan.com/wordpress/plugins/dropdown-menu
|
5 |
Description: A multi widget to generate drop-down menus from your pages, categories & navigation menus. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
|
6 |
-
Version: 1.5.
|
7 |
Author: Matt Say
|
8 |
Author URI: http://shailan.com
|
9 |
Text Domain: shailan-dropdown-menu
|
10 |
*/
|
11 |
|
12 |
-
define('SHAILAN_DM_VERSION','1.5.
|
13 |
define('SHAILAN_DM_TITLE', 'Dropdown Menu');
|
14 |
define('SHAILAN_DM_FOLDER', 'dropdown-menu-widget');
|
15 |
|
@@ -108,7 +108,7 @@ class shailan_DropdownWidget extends WP_Widget {
|
|
108 |
array( "name" => "Menu Type",
|
109 |
"desc" => "Dropdown Menu Type",
|
110 |
"id" => $this->shortname."_type",
|
111 |
-
"std" => "
|
112 |
"options" => $types,
|
113 |
"type" => "select"),
|
114 |
|
@@ -362,7 +362,7 @@ class shailan_DropdownWidget extends WP_Widget {
|
|
362 |
$menu_args = wp_parse_args( array('walker'=>$page_walker) , $menu_args ); }
|
363 |
|
364 |
echo $dropdown_open;
|
365 |
-
|
366 |
echo $dropdown_close;
|
367 |
|
368 |
} // switch ($type)
|
@@ -454,20 +454,22 @@ class shailan_DropdownWidget extends WP_Widget {
|
|
454 |
}
|
455 |
|
456 |
// Custom css support
|
457 |
-
if($theme == 'custom'){
|
458 |
$custom_css = stripslashes(get_option('shailan_dm_custom_css'));
|
459 |
|
460 |
if(!empty($custom_css)){ echo $custom_css; }
|
461 |
-
}
|
462 |
|
463 |
|
464 |
echo "\n\t</style>";
|
465 |
|
|
|
466 |
echo "\n\t<!--[if lte IE 7]>";
|
467 |
echo "\n\t<style type=\"text/css\" media=\"screen\">";
|
468 |
echo "\n\t\tbody { behavior:url(\"".WP_PLUGIN_URL."/".SHAILAN_DM_FOLDER."/csshover.htc\"); }";
|
469 |
echo "\n\t</style>";
|
470 |
echo "\n\t<![endif]-->";
|
|
|
471 |
|
472 |
echo "\n<!-- End of Wordpress Dropdown Menu Styles -->";
|
473 |
echo "\n ";
|
3 |
Plugin Name: Dropdown Menu Widget
|
4 |
Plugin URI: http://shailan.com/wordpress/plugins/dropdown-menu
|
5 |
Description: A multi widget to generate drop-down menus from your pages, categories & navigation menus. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
|
6 |
+
Version: 1.5.3
|
7 |
Author: Matt Say
|
8 |
Author URI: http://shailan.com
|
9 |
Text Domain: shailan-dropdown-menu
|
10 |
*/
|
11 |
|
12 |
+
define('SHAILAN_DM_VERSION','1.5.3');
|
13 |
define('SHAILAN_DM_TITLE', 'Dropdown Menu');
|
14 |
define('SHAILAN_DM_FOLDER', 'dropdown-menu-widget');
|
15 |
|
108 |
array( "name" => "Menu Type",
|
109 |
"desc" => "Dropdown Menu Type",
|
110 |
"id" => $this->shortname."_type",
|
111 |
+
"std" => "pages",
|
112 |
"options" => $types,
|
113 |
"type" => "select"),
|
114 |
|
362 |
$menu_args = wp_parse_args( array('walker'=>$page_walker) , $menu_args ); }
|
363 |
|
364 |
echo $dropdown_open;
|
365 |
+
wp_nav_menu($menu_args);
|
366 |
echo $dropdown_close;
|
367 |
|
368 |
} // switch ($type)
|
454 |
}
|
455 |
|
456 |
// Custom css support
|
457 |
+
/* if($theme == 'custom'){ */
|
458 |
$custom_css = stripslashes(get_option('shailan_dm_custom_css'));
|
459 |
|
460 |
if(!empty($custom_css)){ echo $custom_css; }
|
461 |
+
/*}*/
|
462 |
|
463 |
|
464 |
echo "\n\t</style>";
|
465 |
|
466 |
+
/*
|
467 |
echo "\n\t<!--[if lte IE 7]>";
|
468 |
echo "\n\t<style type=\"text/css\" media=\"screen\">";
|
469 |
echo "\n\t\tbody { behavior:url(\"".WP_PLUGIN_URL."/".SHAILAN_DM_FOLDER."/csshover.htc\"); }";
|
470 |
echo "\n\t</style>";
|
471 |
echo "\n\t<![endif]-->";
|
472 |
+
*/
|
473 |
|
474 |
echo "\n<!-- End of Wordpress Dropdown Menu Styles -->";
|
475 |
echo "\n ";
|
themes/shiny-black.css
CHANGED
@@ -6,8 +6,8 @@
|
|
6 |
ul.dropdown{ background-color:transparent;
|
7 |
border-width:0px;
|
8 |
padding:0px; }
|
9 |
-
ul.dropdown li{ display:block;
|
10 |
-
ul.dropdown li a{ margin-left:25px; display:block; height:23px;
|
11 |
|
12 |
ul.dropdown li.hover, ul.dropdown li:hover { cursor: default; }
|
13 |
|
6 |
ul.dropdown{ background-color:transparent;
|
7 |
border-width:0px;
|
8 |
padding:0px; }
|
9 |
+
ul.dropdown li{ display:block; margin:0px; }
|
10 |
+
ul.dropdown li a{ margin-left:25px; display:block; height:23px; vertical-align:middle; text-align:center; text-decoration:none; padding:8px 25px 0px 0px; font:normal 11px Tahoma; color: #fff; text-decoration:none; }
|
11 |
|
12 |
ul.dropdown li.hover, ul.dropdown li:hover { cursor: default; }
|
13 |
|