=== Custom Sidebars by ProteusThemes ===
Contributors: capuderg, cyman, proteusthemes
Tags: custom sidebars, widgets, sidebars, custom, sidebar, widget, personalize
Requires at least: 5.2
Tested up to: 7.1.2
Stable tag: 1.0.4
License: GPLv3 or later

Allows you to create custom sidebars. Replace sidebars for specific posts and pages.

== Description ==

[ ![Codeship Status for proteusthemes/custom-sidebars-by-proteusthemes](https://codeship.com/projects/11a1d140-3216-0134-6546-4aa210a44804/status?branch=production)](https://codeship.com/projects/164619)

Replace the theme default sidebars with your newly created sidebars.

This plugin was forked from the [Custom Sidebars plugin](https://wordpress.org/plugins/custom-sidebars/), which we used for a few years, but their plugin development stalled, so we were forced to create this plugin. We really appreciate the work of developers of the original plugin!

This plugin allows you to create your own custom sidebars, configure them by adding widgets, and replace the default sidebars on posts or pages you want in just few clicks.

Here is the tl;dr list of the differences from original source:

* Compatibility with the latest stable PHP version (namely PHP 7.0+).
* Removed the "archive pages" functionality - replacing the custom sidebars on archive pages is not possible (e.g. on certain categories).
* Open-sourced development on [GitHub](https://github.com/proteusthemes/custom-sidebars-by-proteusthemes). Issue reports and pull requests welcome!
* Covered with PHP unit tests.
* Fixed couple of JavaScript errors.
* Removed WP admin pointer.
* Modern workflow with Grunt and Bower.
* Removed heavy advertising.

== Installation ==

There are two ways of installing the plugin:

**From inside your WordPress installation, in the plugin section.**

1. Search for *Custom Sidebars by ProteusThemes* plugin.
2. Download it and then active it.

**From this page.**

1. Download the plugin, extract the zip file,
2. Upload the `custom-sidebars-by-proteusthemes` folder to your `/wp-content/plugins/` directory,
3. Active the plugin in the plugin menu panel in your administration area.

The settings for custom sidebars are available in *Appearance -> Widgets*

== Frequently Asked Questions ==

This section will be added when questions arise.

== Changelog ==

= 1.0.4 =

* Security hardening
* Fixed a fatal error when the custom wrapper code contains a percent sign
* Fixed PHP warnings for custom sidebars without widgets and for blog pages without posts
* The Sidebars box is shown only to users who can change sidebars
* Added a notice on the block-based Widgets screen: managing custom sidebars needs the Classic Widgets plugin
* Custom sidebars keep working in widgets accessibility mode
* Sidebar assignments are kept when their sidebar is not registered
* Tested with WP 7.1.2

= 1.0.3 =

* Fixed PHP 8 compatibility issues
* Tested with WP 6.0.2

= 1.0.2 =

* Tested with WP 5.4.1

= 1.0.1 =

* Fixed PHP warning on unsupported post types (attachment pages by default).

= 1.0.0 =

* Initial plugin version.

== Contact and Credits ==

This plugin is being developed by [ProtuesThemes](https://www.proteusthemes.com/).

The original plugin: Custom sidebars is maintained and developed by [WPMU DEV](http://premium.wpmudev.org). Original development completed by [Javier Marquez](http://marquex.es/).
