Version Description
- Fixed an export problem on PHP 5.2, json_encode() have only one parameter.
Download this release
Release Info
Developer | iworks |
Plugin | Custom Sidebars – Dynamic Widget Area Manager |
Version | 3.1.6 |
Comparing to | |
See all releases |
Code changes from version 3.1.5 to 3.1.6
- assets/css/cs-cloning.min.css +1 -1
- assets/css/cs-scan.min.css +1 -1
- assets/css/cs-visibility.min.css +1 -1
- assets/css/cs.min.css +1 -1
- assets/js/cs-cloning.js +1 -1
- assets/js/cs-cloning.min.js +1 -1
- assets/js/cs-visibility.js +1 -1
- assets/js/cs-visibility.min.js +1 -1
- assets/js/cs.js +1 -1
- assets/js/cs.min.js +1 -1
- customsidebars.php +1 -1
- inc/class-custom-sidebars-export.php +69 -20
- inc/class-custom-sidebars.php +1 -1
- languages/custom-sidebars.pot +14 -14
- readme.txt +88 -93
assets/css/cs-cloning.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.1.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.1.6
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
assets/css/cs-scan.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.1.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.1.6
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
assets/css/cs-visibility.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.1.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.1.6
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
assets/css/cs.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.1.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.1.6
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
assets/js/cs-cloning.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.1.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
/*global jQuery:false */
|
1 |
+
/*! Custom Sidebars - v3.1.6
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
/*global jQuery:false */
|
assets/js/cs-cloning.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.1.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.1.6
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
assets/js/cs-visibility.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.1.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
/*global jQuery:false */
|
1 |
+
/*! Custom Sidebars - v3.1.6
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
/*global jQuery:false */
|
assets/js/cs-visibility.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.1.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.1.6
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
assets/js/cs.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.1.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
/*global window:false */
|
1 |
+
/*! Custom Sidebars - v3.1.6
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
/*global window:false */
|
assets/js/cs.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Custom Sidebars - v3.1.
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
1 |
+
/*! Custom Sidebars - v3.1.6
|
2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
3 |
* Copyright (c) 2018; * Licensed GPLv2+ */
|
4 |
|
customsidebars.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Custom Sidebars
|
4 |
* Plugin URI: https://wordpress.org/plugins/custom-sidebars/
|
5 |
* Description: Allows you to create widgetized areas and custom sidebars. Replace whole sidebars or single widgets for specific posts and pages.
|
6 |
-
* Version: 3.1.
|
7 |
* Author: WPMU DEV
|
8 |
* Author URI: http://premium.wpmudev.org/
|
9 |
* Textdomain: custom-sidebars
|
3 |
* Plugin Name: Custom Sidebars
|
4 |
* Plugin URI: https://wordpress.org/plugins/custom-sidebars/
|
5 |
* Description: Allows you to create widgetized areas and custom sidebars. Replace whole sidebars or single widgets for specific posts and pages.
|
6 |
+
* Version: 3.1.6
|
7 |
* Author: WPMU DEV
|
8 |
* Author URI: http://premium.wpmudev.org/
|
9 |
* Textdomain: custom-sidebars
|
inc/class-custom-sidebars-export.php
CHANGED
@@ -16,6 +16,10 @@ class CustomSidebarsExport extends CustomSidebars {
|
|
16 |
// Used after preview. This holds only the items that were selected for import.
|
17 |
private $selected_data = null;
|
18 |
|
|
|
|
|
|
|
|
|
19 |
|
20 |
/**
|
21 |
* Returns the singleton object.
|
@@ -38,17 +42,17 @@ class CustomSidebarsExport extends CustomSidebars {
|
|
38 |
* @since 2.0
|
39 |
*/
|
40 |
private function __construct() {
|
41 |
-
|
42 |
-
|
43 |
-
'cs_widget_header',
|
44 |
-
array( $this, 'widget_header' )
|
45 |
-
);
|
46 |
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
52 |
}
|
53 |
|
54 |
/**
|
@@ -147,17 +151,15 @@ class CustomSidebarsExport extends CustomSidebars {
|
|
147 |
*/
|
148 |
private function get_export_data() {
|
149 |
global $wp_registered_widgets, $wp_version;
|
150 |
-
|
151 |
$theme = wp_get_theme();
|
152 |
-
|
153 |
$csb_info = get_plugin_data( CSB_PLUGIN );
|
154 |
-
|
155 |
$data = array();
|
156 |
// Add some meta-details to the export file.
|
157 |
$data['meta'] = array(
|
158 |
'created' => time(),
|
159 |
'wp_version' => $wp_version,
|
160 |
-
'csb_version' =>
|
161 |
'theme_name' => $theme->get( 'Name' ),
|
162 |
'theme_version' => $theme->get( 'Version' ),
|
163 |
'description' => htmlspecialchars( @$_POST['export-description'] ),
|
@@ -288,10 +290,25 @@ class CustomSidebarsExport extends CustomSidebars {
|
|
288 |
);
|
289 |
self::json_response( $req );
|
290 |
}
|
|
|
|
|
|
|
|
|
291 |
$data = $this->get_export_data();
|
292 |
-
$
|
293 |
-
|
294 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
295 |
// Send the download headers.
|
296 |
header( 'Pragma: public' );
|
297 |
header( 'Expires: 0' );
|
@@ -301,9 +318,41 @@ class CustomSidebarsExport extends CustomSidebars {
|
|
301 |
header( 'Content-Disposition: attachment; filename="' . $filename . '"' );
|
302 |
header( 'Content-Transfer-Encoding: binary' );
|
303 |
header( 'Content-Length: ' . strlen( $content ) );
|
304 |
-
|
305 |
-
|
306 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
}
|
308 |
|
309 |
/*=============================*\
|
16 |
// Used after preview. This holds only the items that were selected for import.
|
17 |
private $selected_data = null;
|
18 |
|
19 |
+
/**
|
20 |
+
* CSB version
|
21 |
+
*/
|
22 |
+
private $version = '';
|
23 |
|
24 |
/**
|
25 |
* Returns the singleton object.
|
42 |
* @since 2.0
|
43 |
*/
|
44 |
private function __construct() {
|
45 |
+
add_action( 'admin_init', array( $this, 'admin_init' ) );
|
46 |
+
}
|
|
|
|
|
|
|
47 |
|
48 |
+
/**
|
49 |
+
* Admin Init
|
50 |
+
*
|
51 |
+
* @since 3.1.6
|
52 |
+
*/
|
53 |
+
public function admin_init() {
|
54 |
+
add_action( 'cs_widget_header', array( $this, 'widget_header' ) );
|
55 |
+
add_action( 'cs_ajax_request', array( $this, 'handle_ajax' ) );
|
56 |
}
|
57 |
|
58 |
/**
|
151 |
*/
|
152 |
private function get_export_data() {
|
153 |
global $wp_registered_widgets, $wp_version;
|
|
|
154 |
$theme = wp_get_theme();
|
|
|
155 |
$csb_info = get_plugin_data( CSB_PLUGIN );
|
156 |
+
$this->version = $csb_info['Version'];
|
157 |
$data = array();
|
158 |
// Add some meta-details to the export file.
|
159 |
$data['meta'] = array(
|
160 |
'created' => time(),
|
161 |
'wp_version' => $wp_version,
|
162 |
+
'csb_version' => $csb_info['Version'],
|
163 |
'theme_name' => $theme->get( 'Name' ),
|
164 |
'theme_version' => $theme->get( 'Version' ),
|
165 |
'description' => htmlspecialchars( @$_POST['export-description'] ),
|
290 |
);
|
291 |
self::json_response( $req );
|
292 |
}
|
293 |
+
/**
|
294 |
+
* build filename
|
295 |
+
*/
|
296 |
+
$filename = $this->get_file_name();
|
297 |
$data = $this->get_export_data();
|
298 |
+
$content = '';
|
299 |
+
/**
|
300 |
+
* Check PHP version, for PHP < 5.3 do not add options
|
301 |
+
*
|
302 |
+
* @since 3.1.6
|
303 |
+
*/
|
304 |
+
$version = phpversion();
|
305 |
+
$compare = version_compare( $version, '5.3', '<' );
|
306 |
+
if ( $compare ) {
|
307 |
+
$content = json_encode( $data );
|
308 |
+
} else {
|
309 |
+
$option = defined( 'JSON_PRETTY_PRINT' )? JSON_PRETTY_PRINT : null;
|
310 |
+
$content = json_encode( $data, $option );
|
311 |
+
}
|
312 |
// Send the download headers.
|
313 |
header( 'Pragma: public' );
|
314 |
header( 'Expires: 0' );
|
318 |
header( 'Content-Disposition: attachment; filename="' . $filename . '"' );
|
319 |
header( 'Content-Transfer-Encoding: binary' );
|
320 |
header( 'Content-Length: ' . strlen( $content ) );
|
321 |
+
/**
|
322 |
+
* Finally send the export-file content.
|
323 |
+
*/
|
324 |
+
echo $content;
|
325 |
+
exit;
|
326 |
+
}
|
327 |
+
|
328 |
+
/**
|
329 |
+
* Generate export file name dynamically.
|
330 |
+
*
|
331 |
+
* Generate a unique file name to export in json.
|
332 |
+
*
|
333 |
+
* @since 3.1.6
|
334 |
+
*
|
335 |
+
* @return string File name.
|
336 |
+
*/
|
337 |
+
private function get_file_name() {
|
338 |
+
/**
|
339 |
+
* get version if it is needded
|
340 |
+
*/
|
341 |
+
if ( empty( $this->version ) ) {
|
342 |
+
$csb_info = get_plugin_data( CSB_PLUGIN );
|
343 |
+
$this->version = $csb_info['Version'];
|
344 |
+
}
|
345 |
+
// Get site name.
|
346 |
+
$site_name = sanitize_key( get_bloginfo( 'name' ) );
|
347 |
+
$site_name = empty( $site_name ) ? '' : $site_name . '.';
|
348 |
+
// Create export file name.
|
349 |
+
$filename = sprintf(
|
350 |
+
'%s.sidebars.%s.%s.json',
|
351 |
+
$site_name,
|
352 |
+
$this->version,
|
353 |
+
date( 'Y-m-d.H-i-s' )
|
354 |
+
);
|
355 |
+
return $filename;
|
356 |
}
|
357 |
|
358 |
/*=============================*\
|
inc/class-custom-sidebars.php
CHANGED
@@ -90,7 +90,7 @@ class CustomSidebars {
|
|
90 |
*/
|
91 |
public function wp_enqueue_add_version( $version, $handle ) {
|
92 |
if ( preg_match( '/^wpmu\-cs\-/', $handle ) ) {
|
93 |
-
return '3.1.
|
94 |
}
|
95 |
return $version;
|
96 |
}
|
90 |
*/
|
91 |
public function wp_enqueue_add_version( $version, $handle ) {
|
92 |
if ( preg_match( '/^wpmu\-cs\-/', $handle ) ) {
|
93 |
+
return '3.1.6';
|
94 |
}
|
95 |
return $version;
|
96 |
}
|
languages/custom-sidebars.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Custom Sidebars Pro PLUGIN_VERSION\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/customsidebars\n"
|
7 |
-
"POT-Creation-Date: 2018-05-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -62,7 +62,7 @@ msgstr ""
|
|
62 |
|
63 |
#: inc/class-custom-sidebars-editor.php:146
|
64 |
#: inc/class-custom-sidebars-editor.php:161
|
65 |
-
#: inc/class-custom-sidebars-export.php:
|
66 |
msgid "You do not have permission for this"
|
67 |
msgstr ""
|
68 |
|
@@ -181,47 +181,47 @@ msgstr ""
|
|
181 |
msgid "Turn off Custom Sidebars explain mode."
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: inc/class-custom-sidebars-export.php:
|
185 |
msgid "Import / Export Sidebars"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: inc/class-custom-sidebars-export.php:
|
189 |
-
#: inc/class-custom-sidebars-export.php:
|
190 |
msgid "You do not have permission for export sidebars."
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: inc/class-custom-sidebars-export.php:
|
194 |
-
#: inc/class-custom-sidebars-export.php:
|
195 |
msgid "No file was uploaded"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: inc/class-custom-sidebars-export.php:
|
199 |
msgid "Import file is too big"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: inc/class-custom-sidebars-export.php:
|
203 |
msgid "Something went wrong"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: inc/class-custom-sidebars-export.php:
|
207 |
msgid "Unexpected import format"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: inc/class-custom-sidebars-export.php:
|
211 |
msgid "You do not have permission for import sidebars."
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: inc/class-custom-sidebars-export.php:
|
215 |
msgid "Imported %d custom sidebar!"
|
216 |
msgid_plural "Imported %d custom sidebars!"
|
217 |
msgstr[0] ""
|
218 |
msgstr[1] ""
|
219 |
|
220 |
-
#: inc/class-custom-sidebars-export.php:
|
221 |
msgid "Plugin options were imported!"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: inc/class-custom-sidebars-export.php:
|
225 |
msgid "Imported %d widget!"
|
226 |
msgid_plural "Imported %d widgets!"
|
227 |
msgstr[0] ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Custom Sidebars Pro PLUGIN_VERSION\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/customsidebars\n"
|
7 |
+
"POT-Creation-Date: 2018-05-28 05:08:33+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
62 |
|
63 |
#: inc/class-custom-sidebars-editor.php:146
|
64 |
#: inc/class-custom-sidebars-editor.php:161
|
65 |
+
#: inc/class-custom-sidebars-export.php:102
|
66 |
msgid "You do not have permission for this"
|
67 |
msgstr ""
|
68 |
|
181 |
msgid "Turn off Custom Sidebars explain mode."
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: inc/class-custom-sidebars-export.php:66 views/widgets.php:46
|
185 |
msgid "Import / Export Sidebars"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: inc/class-custom-sidebars-export.php:289
|
189 |
+
#: inc/class-custom-sidebars-export.php:389
|
190 |
msgid "You do not have permission for export sidebars."
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: inc/class-custom-sidebars-export.php:403
|
194 |
+
#: inc/class-custom-sidebars-export.php:445
|
195 |
msgid "No file was uploaded"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: inc/class-custom-sidebars-export.php:410
|
199 |
msgid "Import file is too big"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: inc/class-custom-sidebars-export.php:416
|
203 |
msgid "Something went wrong"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: inc/class-custom-sidebars-export.php:439
|
207 |
msgid "Unexpected import format"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: inc/class-custom-sidebars-export.php:474
|
211 |
msgid "You do not have permission for import sidebars."
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: inc/class-custom-sidebars-export.php:733
|
215 |
msgid "Imported %d custom sidebar!"
|
216 |
msgid_plural "Imported %d custom sidebars!"
|
217 |
msgstr[0] ""
|
218 |
msgstr[1] ""
|
219 |
|
220 |
+
#: inc/class-custom-sidebars-export.php:747
|
221 |
msgid "Plugin options were imported!"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: inc/class-custom-sidebars-export.php:796
|
225 |
msgid "Imported %d widget!"
|
226 |
msgid_plural "Imported %d widgets!"
|
227 |
msgstr[0] ""
|
readme.txt
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
Contributors: WPMUDEV, marquex, WPMUDEV-Support2, WPMUDEV-Support1, WPMUDEV-Support6, WPMUDEV-Support4, iworks
|
3 |
Tags: sidebar, widget, footer, custom, flexible layout, dynamic widgets, manage sidebars, replace widgets, custom widget area
|
4 |
Requires at least: 3.7
|
5 |
-
Tested up to: 4.9.
|
6 |
Stable tag: 3.1.5
|
7 |
|
8 |
Flexible sidebars for custom widget configurations on every page, post and custom post type on your site.
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
-
|
13 |
|
14 |
Make custom sidebar configurations and be able to choose what widgets display on each page or post of your site.
|
15 |
|
@@ -21,41 +21,36 @@ Custom Sidebars allows you to dynamically display custom widget configurations o
|
|
21 |
|
22 |
Custom Sidebars allows you to display custom widget configurations on any page, post, category, post type, or archive page.
|
23 |
|
24 |
-
★★★★★
|
25 |
-
"Custom Sidebars will go on my "essential plugins" list from now on. I am pleased by how easy it was to figure out and by how many options are available in the free version." -
|
26 |
|
27 |
-
★★★★★
|
28 |
-
"This plugin does exactly what it says. It's light, integrates well into WordPress and gives you tons of possibilities." -
|
29 |
|
30 |
Every part of Custom Sidebars integrates seamlessly with the Widgets menu for simplicity and control. No confusing settings pages or added menu items, just simple core integration.
|
31 |
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
<li>Ad free</li>
|
55 |
-
<li><a href="https://premium.wpmudev.org/support/">24/7 support</a> for all things WordPress</li>
|
56 |
-
<li><a href="http://premium.wpmudev.org/join/">Upfront themes, 100+ premium plugins and WPMU DEV services</a> – Including speed optimization, managed backups with 10GB cloud storage and security hardening</li>
|
57 |
-
</ul>
|
58 |
-
Get <a href="https://premium.wpmudev.org/project/custom-sidebars-pro/">Custom Sidebars</a> for targeted marketing, better widgets for each level of your membership site, or just to clean up bloated content on each page. Download and try it for free!
|
59 |
|
60 |
== Screenshots ==
|
61 |
|
@@ -88,7 +83,7 @@ Find more usage information on the [Custom Sidebars Pro page](https://premium.wp
|
|
88 |
|
89 |
= How do I begin working with this plugin? =
|
90 |
|
91 |
-
Please refer to
|
92 |
|
93 |
= Why can't I see a widget menu? =
|
94 |
|
@@ -116,6 +111,9 @@ Custom Sidebars has the same license as WordPress, so you can use it wherever yo
|
|
116 |
|
117 |
== Changelog ==
|
118 |
|
|
|
|
|
|
|
119 |
= 3.1.5 =
|
120 |
* Fixed a problem with saving an entry sidebars replacement.
|
121 |
* Added ability to allow change sidebars by an entry author.
|
@@ -157,7 +155,7 @@ Custom Sidebars has the same license as WordPress, so you can use it wherever yo
|
|
157 |
* Fixed build in taxonomies problem on "Sidebar Location" edit window.
|
158 |
|
159 |
= 3.0.8.1 =
|
160 |
-
* Fixed CSRF vulnerability. Props for [qasuar](https://wordpress.org/support/users/qasuar/)
|
161 |
|
162 |
= 3.0.8 =
|
163 |
* Added bulk sidebars edit.
|
@@ -268,16 +266,16 @@ Custom Sidebars has the same license as WordPress, so you can use it wherever yo
|
|
268 |
* Small improvements in code.
|
269 |
|
270 |
= 2.1.0.4 =
|
271 |
-
* Fix missing text-domain in translation
|
272 |
|
273 |
= 2.1.0.3 =
|
274 |
-
* Fix incompatibility with PopUp plugin
|
275 |
|
276 |
= 2.1.0.2 =
|
277 |
-
* Close possible security hole (XSS vulnerability)
|
278 |
|
279 |
= 2.1.0.1 =
|
280 |
-
* Fix incompatibility with PopUp plugin
|
281 |
|
282 |
= 2.1.0.0 =
|
283 |
* Fixed: Sidebars could not be created on certain webserver setups.
|
@@ -292,53 +290,53 @@ Custom Sidebars has the same license as WordPress, so you can use it wherever yo
|
|
292 |
* New: Assign a Sidebar to 404 pages via the Sidebar Location dialog.
|
293 |
|
294 |
= 2.0.9.6 =
|
295 |
-
*
|
296 |
-
*
|
297 |
-
*
|
298 |
* Some other small improvements.
|
299 |
|
300 |
= 2.0.9.4 =
|
301 |
-
*
|
302 |
|
303 |
= 2.0.9.3 =
|
304 |
-
*
|
305 |
-
*
|
306 |
|
307 |
= 2.0.9.2 =
|
308 |
-
*
|
309 |
|
310 |
= 2.0.9.1 =
|
311 |
-
*
|
312 |
* Minor: New debugging output that explains why a sidebar/widget is displayed.
|
313 |
|
314 |
|
315 |
= 2.0.9 =
|
316 |
-
*
|
317 |
-
*
|
318 |
-
*
|
319 |
-
* Minor fix: Make code compatible with PHP 5.2.4
|
320 |
-
* Minor fix: Slight improvement of AJAX stability
|
321 |
-
* Minor fix: Plugin now requires capability "edit_theme_options"
|
322 |
|
323 |
= 2.0.8 =
|
324 |
-
*
|
325 |
|
326 |
= 2.0.7 =
|
327 |
-
*
|
328 |
|
329 |
= 2.0.6.1 =
|
330 |
* Minor fix: Use WordPress core functions to get URL to JavaScript files.
|
331 |
* Minor fix: Refactor function name to avoid misunderstandings.
|
332 |
|
333 |
= 2.0.5 =
|
334 |
-
* Fixed: Meta box in post editor did show missing sidebars (e.g. after switching the theme)
|
335 |
* Fixed: PHP warning about strict standards.
|
336 |
|
337 |
= 2.0.3 =
|
338 |
* Fixed: JavaScript errors on Windows servers are fixed.
|
339 |
|
340 |
= 2.0.2 =
|
341 |
-
* Fixed: Dashboard notification is now removed when clicking "dismiss"
|
342 |
|
343 |
= 2.0.1 =
|
344 |
* PHP 5.2 compatibility layer.
|
@@ -355,45 +353,42 @@ Custom Sidebars has the same license as WordPress, so you can use it wherever yo
|
|
355 |
* Added: Custom sidebars now works with BuddyPress pages.
|
356 |
|
357 |
= 1.4 =
|
358 |
-
* Fixed: Individual post sidebar selection when default sidebars for single posts are defined
|
359 |
-
* Fixed: Category sidebars sorting
|
360 |
-
* Added: WP 3.8 new admin design (MP6) support
|
361 |
|
362 |
= 1.3.1 =
|
363 |
-
* Fixed: Absolute paths that leaded to the outdated browser error
|
364 |
-
* Fixed: Stripped slashes for the pre/post widget/title fields
|
365 |
|
366 |
= 1.3 =
|
367 |
-
* Fixed: A lot of warnings with the PHP debug mode on
|
368 |
-
* Improved: Styles to make them compatible with WP 3.6
|
369 |
-
* Fixed: Creation of sidebars from the custom sidebars option
|
370 |
-
* Fixed: Missing loading icons in the admin area
|
371 |
* Removed: Donate banner. Thanks to the ones that have be supporting Custom Sidebar so far.
|
372 |
|
373 |
= 1.2 =
|
374 |
* Fixed: Searches with no results shows default sidebar.
|
375 |
-
* Added: RTL support (thanks to Dvir http://foxy.co.il/blog/)
|
376 |
-
* Improved: Minor enhancements in the interface to adapt it to
|
377 |
-
*
|
378 |
-
* Fixed: Slashes are added to the attributes of before and after title/widget
|
379 |
|
380 |
= 1.1 =
|
381 |
-
* Fixed: Where lightbox not showing for everybody (Thanks to Robert Utnehmer)
|
382 |
-
* Added: Default sidebar for search results pages
|
383 |
-
* Added: Default sidebar for date archives
|
384 |
-
* Added: Default sidebar for Uncategorized posts
|
385 |
|
386 |
= 1.0 =
|
387 |
-
* Fixed: Special characters make sidebars undeletable
|
388 |
-
* Added: Child/parent pages support
|
389 |
-
* Improved interface to handle hundreds of sidebars easily
|
390 |
-
* Added: Ajax support for creating an editing sidebars from the widget page
|
391 |
-
* Added: Italian translation
|
392 |
|
393 |
= 0.8.2 =
|
394 |
-
* Fixed: Problems with Spanish translation
|
395 |
-
*
|
396 |
-
* Fixed: Some CSS issues with WP3.3
|
397 |
|
398 |
= 0.8.1 =
|
399 |
* Fixed: You can assign sidebars to your pages again.
|
@@ -414,11 +409,11 @@ Custom Sidebars has the same license as WordPress, so you can use it wherever yo
|
|
414 |
|
415 |
= 0.6 =
|
416 |
|
417 |
-
* New interface, more user friendly
|
418 |
-
* Added the possibility of customize the main blog page sidebars
|
419 |
-
* Added the sidebars by category, so now you can personalize all the post that belongs to a category easily in a hierarchical way
|
420 |
-
* Added the possibility of customize the authors page sidebars
|
421 |
-
* Added the possibility of customize the tags page sidebars
|
422 |
* Added, now it is possible to edit the sidebars names, as well as the pre-widget, post-widget, pre-title, post-title for a sidebar.
|
423 |
* Added the possibility of customize the sidebars of posts list by category or post-type.
|
424 |
|
@@ -426,7 +421,7 @@ Custom Sidebars has the same license as WordPress, so you can use it wherever yo
|
|
426 |
= 0.5 =
|
427 |
|
428 |
* Fixed a bug that didn't allow to create new bars when every previous bars were deleted.
|
429 |
-
* Fixed a bug introduced in v0.4 that did not allow to assign bars per post-types properly
|
430 |
* Added an option to remove all the Custom Sidebars data from the database easily.
|
431 |
|
432 |
= 0.4 =
|
@@ -435,8 +430,8 @@ Custom Sidebars has the same license as WordPress, so you can use it wherever yo
|
|
435 |
|
436 |
= 0.3 =
|
437 |
|
438 |
-
* PHP 4 Compatible (Thanks to Kay Larmer)
|
439 |
-
* Fixed a bug introduced in v0.2 that did not allow to save the replaceable bars options
|
440 |
|
441 |
= 0.2 =
|
442 |
|
@@ -447,7 +442,7 @@ Custom Sidebars has the same license as WordPress, so you can use it wherever yo
|
|
447 |
|
448 |
= 0.1 =
|
449 |
|
450 |
-
* Initial release
|
451 |
|
452 |
== Upgrade Notice ==
|
453 |
|
@@ -466,8 +461,8 @@ This version adds several options for customize the sidebars by categories and r
|
|
466 |
|
467 |
== Contact and Credits ==
|
468 |
|
469 |
-
Custom sidebars is maintained and developed by
|
470 |
|
471 |
-
Original development completed by
|
472 |
|
473 |
Custom Sidebars uses the great jQuery plugin [Tiny Scrollbar](http://www.baijs.nl/tinyscrollbar/) by Maarten Baijs.
|
2 |
Contributors: WPMUDEV, marquex, WPMUDEV-Support2, WPMUDEV-Support1, WPMUDEV-Support6, WPMUDEV-Support4, iworks
|
3 |
Tags: sidebar, widget, footer, custom, flexible layout, dynamic widgets, manage sidebars, replace widgets, custom widget area
|
4 |
Requires at least: 3.7
|
5 |
+
Tested up to: 4.9.6
|
6 |
Stable tag: 3.1.5
|
7 |
|
8 |
Flexible sidebars for custom widget configurations on every page, post and custom post type on your site.
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
+
** Manage and replace sidebars and other widget areas on your site with Custom Sidebars, a flexible widget area manager. **
|
13 |
|
14 |
Make custom sidebar configurations and be able to choose what widgets display on each page or post of your site.
|
15 |
|
21 |
|
22 |
Custom Sidebars allows you to display custom widget configurations on any page, post, category, post type, or archive page.
|
23 |
|
24 |
+
★★★★★
|
25 |
+
> "Custom Sidebars will go on my "essential plugins" list from now on. I am pleased by how easy it was to figure out and by how many options are available in the free version." - [monkeyhateclean](https://profiles.wordpress.org/monkeyhateclean)
|
26 |
|
27 |
+
★★★★★
|
28 |
+
> "This plugin does exactly what it says. It's light, integrates well into WordPress and gives you tons of possibilities." - [DarkNova](https://profiles.wordpress.org/darknova11)
|
29 |
|
30 |
Every part of Custom Sidebars integrates seamlessly with the Widgets menu for simplicity and control. No confusing settings pages or added menu items, just simple core integration.
|
31 |
|
32 |
+
> #### A Simple Flexible Sidebar Manager
|
33 |
+
> ** Custom Sidebars Includes: **
|
34 |
+
> * Unlimited custom widget configurations
|
35 |
+
> * Set custom widgets for individual posts and pages, categories, post types, and archives
|
36 |
+
> * Seamless integration with the WordPress Widgets menu
|
37 |
+
> * Works with well-coded themes and doesn't slow down your site
|
38 |
+
> * Set individual widget visibility – for guests, by user role, by post type, for special pages or categories
|
39 |
+
> * Author specific sidebars – display a custom sidebar for each of your authors
|
40 |
+
> * Clone and sync widget settings – quickly edit complex configurations
|
41 |
+
> * Import and export custom sidebars – backup and share sidebars
|
42 |
+
>
|
43 |
+
> Install Custom Sidebars and see for yourself why it's the most popular widget extension plugin available for WordPress with over 200,000 active installs.
|
44 |
+
|
45 |
+
#### Custom Sidebars Is Fully-Loaded
|
46 |
+
|
47 |
+
If you run a design agency, or just want to get rid of the ads, checkout [Custom Sidebars Pro](https://premium.wpmudev.org/project/custom-sidebars-pro):
|
48 |
+
|
49 |
+
* Ad free
|
50 |
+
* [24/7 support](https://premium.wpmudev.org/support/) for all things WordPress
|
51 |
+
* [Upfront themes, 100+ premium plugins and WPMU DEV services](http://premium.wpmudev.org/join/) – Including speed optimization, managed backups with 10GB cloud storage and security hardening
|
52 |
+
|
53 |
+
Get [Custom Sidebars Pro](https://premium.wpmudev.org/project/custom-sidebars-pro/) for targeted marketing, better widgets for each level of your membership site, or just to clean up bloated content on each page. Download and try it for free!
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
== Screenshots ==
|
56 |
|
83 |
|
84 |
= How do I begin working with this plugin? =
|
85 |
|
86 |
+
Please refer to [the usage section of Custom Sidebars Pro](https://premium.wpmudev.org/project/custom-sidebars-pro/#usage).
|
87 |
|
88 |
= Why can't I see a widget menu? =
|
89 |
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
+
= 3.1.6 =
|
115 |
+
* Fixed an export problem on PHP 5.2, json_encode() have only one parameter.
|
116 |
+
|
117 |
= 3.1.5 =
|
118 |
* Fixed a problem with saving an entry sidebars replacement.
|
119 |
* Added ability to allow change sidebars by an entry author.
|
155 |
* Fixed build in taxonomies problem on "Sidebar Location" edit window.
|
156 |
|
157 |
= 3.0.8.1 =
|
158 |
+
* Fixed CSRF vulnerability. Props for [qasuar](https://wordpress.org/support/users/qasuar/).
|
159 |
|
160 |
= 3.0.8 =
|
161 |
* Added bulk sidebars edit.
|
266 |
* Small improvements in code.
|
267 |
|
268 |
= 2.1.0.4 =
|
269 |
+
* Fix missing text-domain in translation.
|
270 |
|
271 |
= 2.1.0.3 =
|
272 |
+
* Fix incompatibility with PopUp plugin.
|
273 |
|
274 |
= 2.1.0.2 =
|
275 |
+
* Close possible security hole (XSS vulnerability).
|
276 |
|
277 |
= 2.1.0.1 =
|
278 |
+
* Fix incompatibility with PopUp plugin.
|
279 |
|
280 |
= 2.1.0.0 =
|
281 |
* Fixed: Sidebars could not be created on certain webserver setups.
|
290 |
* New: Assign a Sidebar to 404 pages via the Sidebar Location dialog.
|
291 |
|
292 |
= 2.0.9.6 =
|
293 |
+
* Fixed: In some browsers the "Add sidebar" popup was partially hidden.
|
294 |
+
* Fixed: Sometimes the dropdown list of a multiselect list stayed open.
|
295 |
+
* Fixed: Plugin now correctly loads the .po files to translate to other languages.
|
296 |
* Some other small improvements.
|
297 |
|
298 |
= 2.0.9.4 =
|
299 |
+
* Fixed: For some users the plugin was not loading anymore after updating to 2.0.9.1.
|
300 |
|
301 |
= 2.0.9.3 =
|
302 |
+
* Fixed: Z-index issue in Dashboard where wide widgets where covered by the main-menu.
|
303 |
+
* Fixed: Added compatibility for static front-page sidebars with version 2.0.9.
|
304 |
|
305 |
= 2.0.9.2 =
|
306 |
+
* Fixed: Sidebar Locations "Front Page" and "Post Index" now work correctly.
|
307 |
|
308 |
= 2.0.9.1 =
|
309 |
+
* Fixed: Sidebars now support unicode-text in name/description.
|
310 |
* Minor: New debugging output that explains why a sidebar/widget is displayed.
|
311 |
|
312 |
|
313 |
= 2.0.9 =
|
314 |
+
* Fixed: Fixed issue with WP sidebar chooser right after creating a new sidebar.
|
315 |
+
* Fixed: Fixed various issues when flagging a sidebar s replaceable.
|
316 |
+
* Fixed: Plugin will not load in accessibility mode but display a notice instead.
|
317 |
+
* Minor fix: Make code compatible with PHP 5.2.4.
|
318 |
+
* Minor fix: Slight improvement of AJAX stability.
|
319 |
+
* Minor fix: Plugin now requires capability "edit_theme_options".
|
320 |
|
321 |
= 2.0.8 =
|
322 |
+
* Fixed: Fixed issue with settings not being saved correctly.
|
323 |
|
324 |
= 2.0.7 =
|
325 |
+
* Fixed: Fixed issue with some people losing some sidebar settings after update.
|
326 |
|
327 |
= 2.0.6.1 =
|
328 |
* Minor fix: Use WordPress core functions to get URL to JavaScript files.
|
329 |
* Minor fix: Refactor function name to avoid misunderstandings.
|
330 |
|
331 |
= 2.0.5 =
|
332 |
+
* Fixed: Meta box in post editor did show missing sidebars (e.g. after switching the theme).
|
333 |
* Fixed: PHP warning about strict standards.
|
334 |
|
335 |
= 2.0.3 =
|
336 |
* Fixed: JavaScript errors on Windows servers are fixed.
|
337 |
|
338 |
= 2.0.2 =
|
339 |
+
* Fixed: Dashboard notification is now removed when clicking "dismiss".
|
340 |
|
341 |
= 2.0.1 =
|
342 |
* PHP 5.2 compatibility layer.
|
353 |
* Added: Custom sidebars now works with BuddyPress pages.
|
354 |
|
355 |
= 1.4 =
|
356 |
+
* Fixed: Individual post sidebar selection when default sidebars for single posts are defined.
|
357 |
+
* Fixed: Category sidebars sorting.
|
358 |
+
* Added: WP 3.8 new admin design (MP6) support.
|
359 |
|
360 |
= 1.3.1 =
|
361 |
+
* Fixed: Absolute paths that leaded to the outdated browser error.
|
362 |
+
* Fixed: Stripped slashes for the pre/post widget/title fields.
|
363 |
|
364 |
= 1.3 =
|
365 |
+
* Fixed: A lot of warnings with the PHP debug mode on.
|
366 |
+
* Improved: Styles to make them compatible with WP 3.6.
|
367 |
+
* Fixed: Creation of sidebars from the custom sidebars option.
|
368 |
+
* Fixed: Missing loading icons in the admin area.
|
369 |
* Removed: Donate banner. Thanks to the ones that have be supporting Custom Sidebar so far.
|
370 |
|
371 |
= 1.2 =
|
372 |
* Fixed: Searches with no results shows default sidebar.
|
373 |
+
* Added: RTL support (thanks to Dvir http://foxy.co.il/blog/).
|
374 |
+
* Improved: Minor enhancements in the interface to adapt it to WordPress 3.x.
|
375 |
+
* Fixed: Slashes are added to the attributes of before and after title/widget.
|
|
|
376 |
|
377 |
= 1.1 =
|
378 |
+
* Fixed: Where lightbox not showing for everybody (Thanks to Robert Utnehmer).
|
379 |
+
* Added: Default sidebar for search results pages.
|
380 |
+
* Added: Default sidebar for date archives.
|
381 |
+
* Added: Default sidebar for Uncategorized posts.
|
382 |
|
383 |
= 1.0 =
|
384 |
+
* Fixed: Special characters make sidebars undeletable.
|
385 |
+
* Added: Child/parent pages support.
|
386 |
+
* Improved interface to handle hundreds of sidebars easily.
|
387 |
+
* Added: Ajax support for creating an editing sidebars from the widget page.
|
|
|
388 |
|
389 |
= 0.8.2 =
|
390 |
+
* Fixed: Problems with Spanish translation.
|
391 |
+
* Fixed: Some CSS issues with WordPress 3.3.
|
|
|
392 |
|
393 |
= 0.8.1 =
|
394 |
* Fixed: You can assign sidebars to your pages again.
|
409 |
|
410 |
= 0.6 =
|
411 |
|
412 |
+
* New interface, more user friendly.
|
413 |
+
* Added the possibility of customize the main blog page sidebars.
|
414 |
+
* Added the sidebars by category, so now you can personalize all the post that belongs to a category easily in a hierarchical way.
|
415 |
+
* Added the possibility of customize the authors page sidebars.
|
416 |
+
* Added the possibility of customize the tags page sidebars.
|
417 |
* Added, now it is possible to edit the sidebars names, as well as the pre-widget, post-widget, pre-title, post-title for a sidebar.
|
418 |
* Added the possibility of customize the sidebars of posts list by category or post-type.
|
419 |
|
421 |
= 0.5 =
|
422 |
|
423 |
* Fixed a bug that didn't allow to create new bars when every previous bars were deleted.
|
424 |
+
* Fixed a bug introduced in v0.4 that did not allow to assign bars per post-types properly.
|
425 |
* Added an option to remove all the Custom Sidebars data from the database easily.
|
426 |
|
427 |
= 0.4 =
|
430 |
|
431 |
= 0.3 =
|
432 |
|
433 |
+
* PHP 4 Compatible (Thanks to Kay Larmer).
|
434 |
+
* Fixed a bug introduced in v0.2 that did not allow to save the replaceable bars options.
|
435 |
|
436 |
= 0.2 =
|
437 |
|
442 |
|
443 |
= 0.1 =
|
444 |
|
445 |
+
* Initial release.
|
446 |
|
447 |
== Upgrade Notice ==
|
448 |
|
461 |
|
462 |
== Contact and Credits ==
|
463 |
|
464 |
+
Custom sidebars is maintained and developed by [WPMU DEV](http://premium.wpmudev.org).
|
465 |
|
466 |
+
Original development completed by [Javier Marquez](http://marquex.es/).
|
467 |
|
468 |
Custom Sidebars uses the great jQuery plugin [Tiny Scrollbar](http://www.baijs.nl/tinyscrollbar/) by Maarten Baijs.
|