kasparsd / widget-context-wporg

Widget Context for WordPress
https://widgetcontext.com
Other
43 stars 13 forks source link

Feature request: filter widgets in the admin widgets page #57

Closed johnh10 closed 4 years ago

johnh10 commented 4 years ago

So I have many different widgets to show for many different pages, but the widgets page in the WordPress Admin area shows all of them together and I have to figure out which to work on for whatever page I'm updating.

Is it possible to add a filter to the WordPress admin widgets page to only display widgets that pass the filter? For instance I could tell the filter to only show widgets that are set to display on the front page, or on page X, etc. That would help tremendously in setting up/updating the widgets. This is only for the admin area and not the front end.

kasparsd commented 4 years ago

That's a great idea!

The WordPress Customizer actually shows the widgets greyed out if they're hidden in the current preview:

widgets-hidden

Does that help?

johnh10 commented 4 years ago

I think that will work. I'll recommend people use the customizer over the widget page then.