I don’t think it is possible in a nice user friendly way. WordPress admin screen and the customizer assume that any widget can get into any sidebar and will show them as part of the admin, so even if you filter out the widgets you do not want, it will probably create a lot of WTF moments for the user.
I would just suggest not to go that way. If you need to restrict the widgets and you can not count on the user to have self control, then the sidebar/widgets combo might just not be a good answer for what you try to do.
Related Posts:
- Text Widget creates a
- HowTo: Add Class to Sidebar Widget List-Items
- Get sidebar parameters (before_widget, before_title, etc.) from within a widget
- register_sidebar ignores ‘id’ and ‘class’
- Add div class to only one widget
- What is the use case for the “Class” parameter in register_sidebar?
- How to avoid widgets added to sidebar on theme activation?
- Registering Sidebars and Sidebar Widgets. Sidebar Widgets Not Displaying
- Hooking Into Widget Output Loop
- Why do none of my widgets have a title?
- Widget area inside a widget
- How to add multiple custom widget areas
- More flexible sidebar and widget management
- WordPress widget new instance creates content duplicates
- duplicate sidebar
- Removing custom widget area WordPress 4.4 [closed]
- Insert Widget option into mark-up with register_sidebar
- Widgets not expanding on wordpress 3.3 widget dashbord
- Add before_content and after_content to register_sidebar
- I can’t get my custom widget area to show on my WordPress site
- Cannot save widgets in custom sidebars
- WordPress widget/sidebar dividers?
- adding multiple sidebars on pages
- wp_register_sidebar_widget() disappered my Widgets submenu – what am I doing wrong?
- Toggle option in sidebar widgets
- Can’t see widget areas in my customizer
- Widgets not activated alert after using get_sidebar()
- Custom page sidebar using Template dropdown box
- Can you target a widget_class in a register_sidebar?
- Copy Widget Settings because of changed IDs
- Custom Sidebar only on single post
- Register sidebar ‘before’ and ‘after’ html as div rather than li tags
- How to pass a special CSS class into widget li
- Widget title markup in register_sidebar
- Add SideBar/Widgets Just Below the Post
- Add class to on sidebar widget
- Save button is not working on custom widget
- Register_Sidebar overwriting itself and doesn’t exist in global $wp_registered_sidebars;
- widgets not working
- Is there a way to dump all registered sidebar/widget?
- Sidebar widgets – dynamic CSS : problem with widget-title
- How to customize wordpress sidebar widget
- Why is registering a sidebar for each page causing my sidebars to reset?
- activate custom sidebar widgets
- How to use register_sidebar’s ‘before_widget’ unique id generator into its other parameters like ‘before_title’?
- After adding widget the style is messing up
- Widget is displayed in two places
- Siderbar implementation with collapsible bootstrap cards
- How to create sidebar from “scratch”?
- My widgets do not save
- How to get sidebar widgets in leftsidebar template
- Dynamic sidebar areas not working on the Theme Customizer
- How Can I Replicate & Register a Widget from the Child Theme
- Create new sidebars trough admin post/page metabox
- Any reason why widgets/menus get emptied when I updated custom theme code?
- Widget Areas Still Appearing in WP ADMIN When They Shouldn’t
- $before/after_widget/title not displaying anything
- wp_register_sidebar_widget in loop within a plugin?
- register_sidebar() will not wrap an element properly
- key( $GLOBALS[‘wp_registered_sidebars’] ) is always showing the same value
- An issue with register_sidebar and the admin interface
- Unique widget id in sidebar
- Add the title of a widget as an ID – for anchor links
- is it possible to create custom widgets page in admin?
- Using prevNext Modx Addon
- :wq! command in vim
- how to set the background color of the status bar during the launching phase [duplicate]
- api-ms-win-crt-runtime-l1-1-0.dll is missing when opening Microsoft Office file [closed]
- When is K 1024 and when is it 1000?
- What is a MIME type?
- Logitech/LGHUB Lua – Loop with break
- are there dictionaries in javascript like python?
- How can I convert MP3 file to a Base64 encoded string? [closed]
- Understanding The Modulus Operator %
- Understanding the main method of python [duplicate]
- Dial pad to get phone number (with Android button images)
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How is the AND/OR operator represented as in Regular Expressions?
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- Istio Ingress resulting in “no healthy upstream”
- Why is it not possible to fake an IP address?
- How to open a “-” dashed filename using terminal?
- Substring in excel
- What is a LAMP stack?
- What is a sanity test/check
- What is the difference between POST and PUT in HTTP?
- What is the difference between POST and PUT in HTTP?
- How to find Google’s IP address?
- What exactly is a VBO in OpenGL?
- What and where are the stack and heap?
- ping response “Request timed out.” vs “Destination Host unreachable”
- Authentication versus Authorization
- What is a reverse shell?
- How does npm start work? What all processes are happening in the background?
- What is an instance variable in Java?
- What is the := operator?
- What is tail recursion?
- Discord music bot not working
- What does “:=” mean in Pseudocode? [closed]
- Why am I getting error for apple-touch-icon-precomposed.png