Version Description
- Fixed category walker for the advanced styling.
Download this release
Release Info
Developer | mattsay |
Plugin | Dropdown Menu Widget |
Version | 1.2.4 |
Comparing to | |
See all releases |
Code changes from version 1.2.3 to 1.2.4
- readme.txt +18 -12
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- shailan-category-walker.php +4 -4
- shailan.DropDownMenu.php +2 -2
readme.txt
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
-
===
|
2 |
-
Contributors: mattsay
|
3 |
-
Donate link: http://shailan.com/donate
|
4 |
-
Tags: css, dropdown, menu, widget, pages, categories
|
5 |
-
Requires at least: 2.5
|
6 |
-
Tested up to: 2.9
|
7 |
-
Stable tag: 1.2.
|
8 |
|
9 |
This widget adds a beatiful vertical/horizontal CSS only dropdown menu of pages OR categories of your blog.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
Dropdown Menu widget adds a beautiful, CSS only dropdown menu, listing pages OR categories of your blog. It allows you to chose vertical or horizontal. It supports multiple instances. You can select a theme for your widget from the Dropdown Menu Settings page. If you don't like ready-made templates you can create your own theme for the menus using CSS. Hope you like it. Want your own dropdown theme? [Request theme](http://shailan.com)
|
14 |
|
15 |
== Installation ==
|
16 |
|
@@ -22,9 +22,9 @@ Dropdown Menu widget adds a beautiful, CSS only dropdown menu, listing pages OR
|
|
22 |
|
23 |
== Frequently Asked Questions ==
|
24 |
|
25 |
-
= I added this widget but it looks all weird! =
|
26 |
|
27 |
-
This widget is intented for *wide header widget areas*, not regular sidebars. You can add a sidebar to your theme or you can get a *all-widget* theme from
|
28 |
|
29 |
= Can i create my own theme? =
|
30 |
|
@@ -36,14 +36,20 @@ Plugin comes with various themes already installed. If you want something differ
|
|
36 |
|
37 |
= I found a bug! Where do i submit it? =
|
38 |
|
39 |
-
You can submit errors and bugs using the [online form](http://shailan.com/contact).
|
40 |
|
41 |
== Screenshots ==
|
42 |
|
43 |
-
1. A preview of the widget in action
|
|
|
|
|
|
|
44 |
|
45 |
== Changelog ==
|
46 |
|
|
|
|
|
|
|
47 |
= 1.2.3 =
|
48 |
* Added Aqua theme.
|
49 |
* Added <span> elements in the menu so more advanced styling can be made.
|
1 |
+
=== Shailan Dropdown Menu Widget ===
|
2 |
+
Contributors: mattsay
|
3 |
+
Donate link: http://shailan.com/donate
|
4 |
+
Tags: css, dropdown, menu, widget, pages, categories
|
5 |
+
Requires at least: 2.5
|
6 |
+
Tested up to: 2.9
|
7 |
+
Stable tag: 1.2.4
|
8 |
|
9 |
This widget adds a beatiful vertical/horizontal CSS only dropdown menu of pages OR categories of your blog.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
Dropdown Menu widget adds a beautiful, CSS only dropdown menu, listing pages OR categories of your blog. It allows you to chose vertical or horizontal. It supports multiple instances. You can select a theme for your widget from the Dropdown Menu Settings page. If you don't like ready-made templates you can create your own theme for the menus using CSS. Hope you like it. Want your own dropdown theme? [Request theme](http://shailan.com/contact)
|
14 |
|
15 |
== Installation ==
|
16 |
|
22 |
|
23 |
== Frequently Asked Questions ==
|
24 |
|
25 |
+
= I added this widget to my sidebar but it looks all weird! =
|
26 |
|
27 |
+
This widget is intented for *wide header widget areas*, not regular sidebars. You can add a sidebar to your theme or you can get a *all-widget* theme from [shailan.com](http://shailan.com).
|
28 |
|
29 |
= Can i create my own theme? =
|
30 |
|
36 |
|
37 |
= I found a bug! Where do i submit it? =
|
38 |
|
39 |
+
You can submit errors and bugs using the [online form](http://shailan.com/contact) on my site.
|
40 |
|
41 |
== Screenshots ==
|
42 |
|
43 |
+
1. A preview of the widget in action
|
44 |
+
1. Shiny Black menu theme
|
45 |
+
1. WP-Default menu theme
|
46 |
+
1. Dropdown menu settings page
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 1.2.4 =
|
51 |
+
* Fixed category walker for the advanced styling.
|
52 |
+
|
53 |
= 1.2.3 =
|
54 |
* Added Aqua theme.
|
55 |
* Added <span> elements in the menu so more advanced styling can be made.
|
screenshot-2.png
ADDED
Binary file
|
screenshot-3.png
ADDED
Binary file
|
screenshot-4.png
ADDED
Binary file
|
shailan-category-walker.php
CHANGED
@@ -80,8 +80,8 @@ class shailan_CategoryWalker extends Walker {
|
|
80 |
$link .= 'title="' . esc_attr( strip_tags( apply_filters( 'category_description', $category->description, $category ) ) ) . '"';
|
81 |
|
82 |
*/
|
83 |
-
$link .= '>';
|
84 |
-
$link .= $cat_name . '</a>';
|
85 |
|
86 |
if ( (! empty($feed_image)) || (! empty($feed)) ) {
|
87 |
$link .= ' ';
|
@@ -89,7 +89,7 @@ class shailan_CategoryWalker extends Walker {
|
|
89 |
if ( empty($feed_image) )
|
90 |
$link .= '(';
|
91 |
|
92 |
-
$link .= '<
|
93 |
|
94 |
if ( empty($feed) )
|
95 |
$alt = ' alt="' . sprintf(__( 'Feed for all posts filed under %s' ), $cat_name ) . '"';
|
@@ -100,7 +100,7 @@ class shailan_CategoryWalker extends Walker {
|
|
100 |
//$link .= $title; // @shailan: removed title
|
101 |
}
|
102 |
|
103 |
-
$link .= '
|
104 |
|
105 |
if ( empty($feed_image) )
|
106 |
$link .= $name;
|
80 |
$link .= 'title="' . esc_attr( strip_tags( apply_filters( 'category_description', $category->description, $category ) ) ) . '"';
|
81 |
|
82 |
*/
|
83 |
+
$link .= '><span>';
|
84 |
+
$link .= $cat_name . '</span></a>';
|
85 |
|
86 |
if ( (! empty($feed_image)) || (! empty($feed)) ) {
|
87 |
$link .= ' ';
|
89 |
if ( empty($feed_image) )
|
90 |
$link .= '(';
|
91 |
|
92 |
+
$link .= '<a href="' . get_category_feed_link($category->term_id, $feed_type) . '"';
|
93 |
|
94 |
if ( empty($feed) )
|
95 |
$alt = ' alt="' . sprintf(__( 'Feed for all posts filed under %s' ), $cat_name ) . '"';
|
100 |
//$link .= $title; // @shailan: removed title
|
101 |
}
|
102 |
|
103 |
+
$link .= '>';
|
104 |
|
105 |
if ( empty($feed_image) )
|
106 |
$link .= $name;
|
shailan.DropDownMenu.php
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
Plugin Name: Shailan 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 and categories. This widget is best used in <a href="http://shailan.com">Shailan.com</a> themes. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
|
6 |
-
Version: 1.2.
|
7 |
Author: Matt Say
|
8 |
Author URI: http://shailan.com
|
9 |
*/
|
10 |
|
11 |
-
define('SHAILAN_DM_VERSION','1.2.
|
12 |
define('SHAILAN_DM_TITLE', 'Dropdown Menu');
|
13 |
define('SHAILAN_DM_FOLDER', 'dropdown-menu-widget');
|
14 |
|
3 |
Plugin Name: Shailan 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 and categories. This widget is best used in <a href="http://shailan.com">Shailan.com</a> themes. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
|
6 |
+
Version: 1.2.4
|
7 |
Author: Matt Say
|
8 |
Author URI: http://shailan.com
|
9 |
*/
|
10 |
|
11 |
+
define('SHAILAN_DM_VERSION','1.2.4');
|
12 |
define('SHAILAN_DM_TITLE', 'Dropdown Menu');
|
13 |
define('SHAILAN_DM_FOLDER', 'dropdown-menu-widget');
|
14 |
|