Advanced Sidebar Menu - Version 5.0.9

Version Description

Download this release

Release Info

Developer Mat Lipe
Plugin Icon 128x128 Advanced Sidebar Menu
Version 5.0.9
Comparing to
See all releases

Code changes from version 5.0.7 to 5.0.9

advanced-sidebar-menu.php CHANGED
@@ -1,14 +1,15 @@
1
<?php
2
/*
3
Plugin Name: Advanced Sidebar Menu
4
- Plugin URI: http://matlipe.com/advanced-sidebar-menu/
5
Description: Creates dynamic menu based on child/parent relationship.
6
Author: Mat Lipe
7
- Version: 5.0.7
8
- Author URI: http://matlipe.com
9
*/
10
11
- define( 'ADVANCED_SIDEBAR_BASIC_VERSION', '5.0.7' );
12
13
14
#-- Define Constants
1
<?php
2
/*
3
Plugin Name: Advanced Sidebar Menu
4
+ Plugin URI: https://matlipe.com/advanced-sidebar-menu/
5
Description: Creates dynamic menu based on child/parent relationship.
6
Author: Mat Lipe
7
+ Version: 5.0.9
8
+ Author URI: https://matlipe.com
9
+ Text Domain: advanced-sidebar-menu
10
*/
11
12
+ define( 'ADVANCED_SIDEBAR_BASIC_VERSION', '5.0.9' );
13
14
15
#-- Define Constants
languages/advanced-sidebar-menu.pot CHANGED
@@ -1,34 +1,51 @@
1
- # Copyright (C) 2013 Advanced Sidebar Menu
2
- # This file is distributed under the same license as the Advanced Sidebar Menu package.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: Advanced Sidebar Menu 4.7.0\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-sidebar-menu\n"
7
- "POT-Creation-Date: 2013-12-12 17:08:18+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=UTF-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
-
15
- #: advanced-sidebar-menu.php:55
16
msgid "Want More Options"
17
msgstr ""
18
19
- #: advanced-sidebar-menu.php:57
20
msgid "Go Pro"
21
msgstr ""
22
23
- #: widgets/category.widget.php:63 widgets/page.widget.php:56
24
msgid "Title"
25
msgstr ""
26
27
- #: widgets/category.widget.php:68
28
msgid "Include Parent Category"
29
msgstr ""
30
31
- #: widgets/category.widget.php:73 widgets/page.widget.php:65
32
msgid "Include Parent Even With No Children"
33
msgstr ""
34
@@ -36,27 +53,27 @@ msgstr ""
36
msgid "Use this plugins styling"
37
msgstr ""
38
39
- #: widgets/category.widget.php:81
40
msgid "Display Categories on Single Posts"
41
msgstr ""
42
43
- #: widgets/category.widget.php:92
44
msgid "Display Each Single Post's Category"
45
msgstr ""
46
47
- #: widgets/category.widget.php:110
48
msgid "Categories to Exclude, Comma Separated"
49
msgstr ""
50
51
- #: widgets/category.widget.php:114 widgets/page.widget.php:95
52
msgid "Legacy Mode: (use pre 4.0 structure and css)"
53
msgstr ""
54
55
- #: widgets/category.widget.php:120
56
msgid "Always Display Child Categories"
57
msgstr ""
58
59
- #: widgets/category.widget.php:131 widgets/page.widget.php:111
60
msgid "Levels to Display"
61
msgstr ""
62
@@ -64,27 +81,27 @@ msgstr ""
64
msgid "Creates a menu of all the pages using the child/parent relationship"
65
msgstr ""
66
67
- #: widgets/page.widget.php:38
68
msgid "Advanced Sidebar Pages Menu"
69
msgstr ""
70
71
- #: widgets/page.widget.php:60
72
msgid "Include Parent Page"
73
msgstr ""
74
75
- #: widgets/page.widget.php:70
76
msgid "Order By"
77
msgstr ""
78
79
- #: widgets/page.widget.php:88
80
msgid "Use this Plugin's Styling"
81
msgstr ""
82
83
- #: widgets/page.widget.php:92
84
- msgid "Pages to Exclude, Comma Separated"
85
msgstr ""
86
87
- #: widgets/page.widget.php:100
88
msgid "Always Display Child Pages"
89
msgstr ""
90
1
+ #, fuzzy
2
msgid ""
3
msgstr ""
4
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
+ "Project-Id-Version: Advanced Sidebar Menu\n"
6
+ "POT-Creation-Date: 2015-08-14 16:54-0400\n"
7
+ "PO-Revision-Date: 2015-08-14 16:53-0400\n"
8
+ "Last-Translator: \n"
9
+ "Language-Team: \n"
10
"MIME-Version: 1.0\n"
11
"Content-Type: text/plain; charset=UTF-8\n"
12
"Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.4\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-WPHeader: advanced-sidebar-menu.php\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
19
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
22
+
23
+ #: advanced-sidebar-menu.php:56
24
msgid "Want More Options"
25
msgstr ""
26
27
+ #: advanced-sidebar-menu.php:58
28
msgid "Go Pro"
29
msgstr ""
30
31
+ #: widgets/category.widget.php:35
32
+ msgid ""
33
+ "Creates a menu of all the categories using the child/parent relationship"
34
+ msgstr ""
35
+
36
+ #: widgets/category.widget.php:39
37
+ msgid "Advanced Sidebar Categories Menu"
38
+ msgstr ""
39
+
40
+ #: widgets/category.widget.php:57 widgets/page.widget.php:60
41
msgid "Title"
42
msgstr ""
43
44
+ #: widgets/category.widget.php:64
45
msgid "Include Parent Category"
46
msgstr ""
47
48
+ #: widgets/category.widget.php:71 widgets/page.widget.php:73
49
msgid "Include Parent Even With No Children"
50
msgstr ""
51
53
msgid "Use this plugins styling"
54
msgstr ""
55
56
+ #: widgets/category.widget.php:83
57
msgid "Display Categories on Single Posts"
58
msgstr ""
59
60
+ #: widgets/category.widget.php:96
61
msgid "Display Each Single Post's Category"
62
msgstr ""
63
64
+ #: widgets/category.widget.php:114
65
msgid "Categories to Exclude, Comma Separated"
66
msgstr ""
67
68
+ #: widgets/category.widget.php:120 widgets/page.widget.php:109
69
msgid "Legacy Mode: (use pre 4.0 structure and css)"
70
msgstr ""
71
72
+ #: widgets/category.widget.php:127
73
msgid "Always Display Child Categories"
74
msgstr ""
75
76
+ #: widgets/category.widget.php:140 widgets/page.widget.php:128
77
msgid "Levels to Display"
78
msgstr ""
79
81
msgid "Creates a menu of all the pages using the child/parent relationship"
82
msgstr ""
83
84
+ #: widgets/page.widget.php:41
85
msgid "Advanced Sidebar Pages Menu"
86
msgstr ""
87
88
+ #: widgets/page.widget.php:66
89
msgid "Include Parent Page"
90
msgstr ""
91
92
+ #: widgets/page.widget.php:79
93
msgid "Order By"
94
msgstr ""
95
96
+ #: widgets/page.widget.php:98
97
msgid "Use this Plugin's Styling"
98
msgstr ""
99
100
+ #: widgets/page.widget.php:104
101
+ msgid "Pages to Exclude (ids), Comma Separated"
102
msgstr ""
103
104
+ #: widgets/page.widget.php:115
105
msgid "Always Display Child Pages"
106
msgstr ""
107
readme.txt CHANGED
@@ -2,10 +2,10 @@
2
3
Contributors: Mat Lipe
4
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40lipeimagination%2einfo&lc=US&item_name=Advanced%20Sidebar%20Menu&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
5
- Tags: menus, sidebar menu, heirchy, category menu, pages menu
6
Requires at least: 3.8.0
7
- Tested up to: 4.2.2
8
- Stable tag: 5.0.7
9
10
Creates a widget for both page and categories that will display the current page/category and all child pages or categories.
11
@@ -14,7 +14,7 @@ Creates a widget for both page and categories that will display the current page
14
Creates a widget for both page and categories that will display the current page/category and an child pages or categories.
15
Keeps the menu clean and usable.
16
17
- <h3>Want More Options and Better Support?</h3>
18
19
<strong><big><a href="http://matlipe.com/product/advanced-sidebar-menu-pro/">Go Pro!</a></big></strong>
20
@@ -48,8 +48,8 @@ Templates may be overridden for customization of outputs and/or css.
48
49
Many built in filters for altering the way the widgets function.
50
51
- Developer Docs may be found here
52
- <a href="http://matlipe.com/advanced-sidebar-menu/developer-docs/">http://matlipe.com/advanced-sidebar-menu/developer-docs/</a>
53
54
To contribute send pull requests:
55
<a href="https://github.com/lipemat/advanced-sidebar-menu">GitHub Repo</a>
@@ -61,9 +61,9 @@ Use the standard WordPress plugins search and install feature.
61
62
Manual Installation
63
64
- 1. Upload the `advanced-sidbebar-menu` folder to the `/wp-content/plugins/` directory
65
1. Activate the plugin through the 'Plugins' menu in WordPress
66
- 1. Drag the "Advanced Sidebar Pages Menu" widget Or the "Advanced Sidebar Categories Menu" widget into a sidebar.
67
68
69
== Screenshots ==
@@ -75,7 +75,7 @@ Manual Installation
75
== Frequently Asked Questions ==
76
77
Developer docs may be found here:
78
- <a href="http://matlipe.com/advanced-sidebar-menu/developer-docs/">http://matlipe.com/advanced-sidebar-menu/developer-docs/</a>
79
80
= What text domain do I use for translation and where is the .pot file? =
81
@@ -127,7 +127,7 @@ You may want to use something like margins to set the levels apart.
127
128
= What if I want functionality which is not built in? =
129
130
- I do offer preminum services for buiding custom add-ons for additional functionality. Otherwise you are welcome to alter the code in any way or build your own add-ons. keep in mind, if you edit the code directly, it will break on update. The best way to customize is using the built in filters or template overides. If you have a cool add-on you have developed, let me know, I may want to publish your work.
131
132
133
== Changelog ==
2
3
Contributors: Mat Lipe
4
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40lipeimagination%2einfo&lc=US&item_name=Advanced%20Sidebar%20Menu&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
5
+ Tags: menus, sidebar menu, hierarchy, category menu, pages menu
6
Requires at least: 3.8.0
7
+ Tested up to: 4.3.1
8
+ Stable tag: 5.0.9
9
10
Creates a widget for both page and categories that will display the current page/category and all child pages or categories.
11
14
Creates a widget for both page and categories that will display the current page/category and an child pages or categories.
15
Keeps the menu clean and usable.
16
17
+ <h3>Want more options and better support?</h3>
18
19
<strong><big><a href="http://matlipe.com/product/advanced-sidebar-menu-pro/">Go Pro!</a></big></strong>
20
48
49
Many built in filters for altering the way the widgets function.
50
51
+ Developer docs may be found here
52
+ <a href="https://matlipe.com/advanced-sidebar-menu/developer-docs/">https://matlipe.com/advanced-sidebar-menu/developer-docs/</a>
53
54
To contribute send pull requests:
55
<a href="https://github.com/lipemat/advanced-sidebar-menu">GitHub Repo</a>
61
62
Manual Installation
63
64
+ 1. Upload the `advanced-sidebar-menu` folder to the `/wp-content/plugins/` directory
65
1. Activate the plugin through the 'Plugins' menu in WordPress
66
+ 1. Drag the "Advanced Sidebar Pages Menu" widget or the "Advanced Sidebar Categories Menu" widget into a sidebar.
67
68
69
== Screenshots ==
75
== Frequently Asked Questions ==
76
77
Developer docs may be found here:
78
+ <a href="https://matlipe.com/advanced-sidebar-menu/developer-docs/">https://matlipe.com/advanced-sidebar-menu/developer-docs/</a>
79
80
= What text domain do I use for translation and where is the .pot file? =
81
127
128
= What if I want functionality which is not built in? =
129
130
+ I do offer premium services for building custom add-ons for additional functionality. Otherwise you are welcome to alter the code in any way or build your own add-ons. keep in mind, if you edit the code directly, it will break on update. The best way to customize is using the built in filters or template overrides. If you have a cool add-on you have developed, let me know, I may want to publish your work.
131
132
133
== Changelog ==
widgets/category.widget.php CHANGED
@@ -28,22 +28,15 @@ class advanced_sidebar_menu_category extends WP_Widget {
28
);
29
30
31
- #-------------------------------------------------------------------------------------------------------------------------
32
-
33
- /**
34
- * Build the widget like a Baller
35
- *
36
- * @since 8.1.13
37
- */
38
function __construct(){
39
- /* Widget settings. */
40
$widget_ops = array(
41
'classname' => 'advanced-sidebar-menu advanced-sidebar-category',
42
- 'description' => 'Creates a menu of all the Categories using the child/parent relationship'
43
);
44
$control_ops = array( 'width' => 290 );
45
- /* Create the widget. */
46
- $this->WP_Widget( 'advanced_sidebar_menu_category', 'Advanced Sidebar Categories Menu', $widget_ops, $control_ops );
47
}
48
49
28
);
29
30
31
function __construct(){
32
+
33
$widget_ops = array(
34
'classname' => 'advanced-sidebar-menu advanced-sidebar-category',
35
+ 'description' => __( 'Creates a menu of all the categories using the child/parent relationship', 'advanced-sidebar-menu' )
36
);
37
$control_ops = array( 'width' => 290 );
38
+
39
+ parent::__construct( 'advanced_sidebar_menu_category', __( 'Advanced Sidebar Categories Menu', 'advanced-sidebar-menu' ), $widget_ops, $control_ops );
40
}
41
42
widgets/page.widget.php CHANGED
@@ -27,14 +27,8 @@ class advanced_sidebar_menu_page extends WP_Widget {
27
);
28
29
30
- /**
31
- * Build the widget like a BOSS
32
- *
33
- * @since 4.5.13
34
- *
35
- */
36
function __construct(){
37
- /* Widget settings. */
38
$widget_ops = array(
39
'classname' => 'advanced-sidebar-menu',
40
'description' => __( 'Creates a menu of all the pages using the child/parent relationship', 'advanced-sidebar-menu' )
@@ -43,8 +37,8 @@ class advanced_sidebar_menu_page extends WP_Widget {
43
'width' => 290
44
);
45
46
- /* Create the widget. */
47
- $this->WP_Widget( 'advanced_sidebar_menu', __( 'Advanced Sidebar Pages Menu', 'advanced-sidebar-menu' ), $widget_ops, $control_ops );
48
49
}
50
27
);
28
29
30
function __construct(){
31
+
32
$widget_ops = array(
33
'classname' => 'advanced-sidebar-menu',
34
'description' => __( 'Creates a menu of all the pages using the child/parent relationship', 'advanced-sidebar-menu' )
37
'width' => 290
38
);
39
40
+
41
+ parent::__construct( 'advanced_sidebar_menu', __( 'Advanced Sidebar Pages Menu', 'advanced-sidebar-menu' ), $widget_ops, $control_ops );
42
43
}
44