Archived topic
Hide a widget on a certain page
3 replies · Started by reistad on July 8, 2020
What is the technique of hiding a widget in a sidebar on a certain page?
Or said another way to only show it on one page, but hide it on other pages.
Hi there,
Choices:
1. A Plugin like Content Aware Sidebars will allow you to dynamically display widgets:
https://en-gb.wordpress.org/plugins/content-aware-sidebars/
or
2. Some CSS to target that widget. I would use this plugin to give my widget a specific class to make that easier.
Thank you! I will try out both solutions.
You're welcome.