Using “Widget Logic” WordPress plugin you can allow to create any widget to display in your sidebar page separately for example in your home page, about page and contact page, this plugin lets you control the pages if what widget you want to display.
For more information about Widget Logic Plugin Click Here
Please follow the installation guide :
Step 1
Login to your WordPress Website go to Plugins > Add New
Step 2
Type “Widget Logic” in the search box plugins and Press Enter
Step 3
Click “Install Now“
Step 4
Click “Activate Plugin“
Step 5
Go to Appearance > Widgets
Step 6
Select Available Widgets you want in your Primary Widget (for example Text Widget and drag it in your Primary Widget)
Assuming widget for home page, about page and contact page.
Step 7
How to display this widgets in each pages
- Select “Home” widget for the home page and type “is_home()” in the widget logic text box and click “Save” button.
- Select “About” widget for the about page and type “is_page(‘about’)” in the widget logic text box and click “Save” button.
- Select “Contact” widget for the about page and type “is_page(‘contact’)” in the widget logic text box and click “Save” button.
Please visit your website and see the home page, about page and contact page
Note : in using “is_page(‘page slug here‘)” in your widget logic you can use page slug.