Version Description
Download this release
Release Info
Developer | Mat Lipe |
Plugin | 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 +5 -4
- languages/advanced-sidebar-menu.pot +44 -27
- readme.txt +10 -10
- widgets/category.widget.php +4 -11
- widgets/page.widget.php +3 -9
advanced-sidebar-menu.php
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Advanced Sidebar Menu
|
4 |
-
Plugin URI:
|
5 |
Description: Creates dynamic menu based on child/parent relationship.
|
6 |
Author: Mat Lipe
|
7 |
-
Version: 5.0.
|
8 |
-
Author URI:
|
|
|
9 |
*/
|
10 |
|
11 |
-
define( 'ADVANCED_SIDEBAR_BASIC_VERSION', '5.0.
|
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 |
-
|
2 |
-
# This file is distributed under the same license as the Advanced Sidebar Menu package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"POT-Creation-Date:
|
|
|
|
|
|
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
msgid "Want More Options"
|
17 |
msgstr ""
|
18 |
|
19 |
-
#: advanced-sidebar-menu.php:
|
20 |
msgid "Go Pro"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: widgets/category.widget.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
msgid "Title"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: widgets/category.widget.php:
|
28 |
msgid "Include Parent Category"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: widgets/category.widget.php:
|
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:
|
40 |
msgid "Display Categories on Single Posts"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: widgets/category.widget.php:
|
44 |
msgid "Display Each Single Post's Category"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: widgets/category.widget.php:
|
48 |
msgid "Categories to Exclude, Comma Separated"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: widgets/category.widget.php:
|
52 |
msgid "Legacy Mode: (use pre 4.0 structure and css)"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: widgets/category.widget.php:
|
56 |
msgid "Always Display Child Categories"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: widgets/category.widget.php:
|
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:
|
68 |
msgid "Advanced Sidebar Pages Menu"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: widgets/page.widget.php:
|
72 |
msgid "Include Parent Page"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: widgets/page.widget.php:
|
76 |
msgid "Order By"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: widgets/page.widget.php:
|
80 |
msgid "Use this Plugin's Styling"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: widgets/page.widget.php:
|
84 |
-
msgid "Pages to Exclude, Comma Separated"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: widgets/page.widget.php:
|
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¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
|
5 |
-
Tags: menus, sidebar menu,
|
6 |
Requires at least: 3.8.0
|
7 |
-
Tested up to: 4.
|
8 |
-
Stable tag: 5.0.
|
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
|
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
|
52 |
-
<a href="
|
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-
|
65 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
66 |
-
1. Drag the "Advanced Sidebar Pages Menu" widget
|
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="
|
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
|
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¤cy_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 |
-
|
40 |
$widget_ops = array(
|
41 |
'classname' => 'advanced-sidebar-menu advanced-sidebar-category',
|
42 |
-
'description' => 'Creates a menu of all the
|
43 |
);
|
44 |
$control_ops = array( 'width' => 290 );
|
45 |
-
|
46 |
-
|
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 |
-
|
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 |
-
|
47 |
-
|
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 |
|