=== Widget Visibility Control === Contributors: fernandot, ayudawp Tags: widget, visibility, jetpack, conditional, blocks Requires at least: 5.8 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Lightweight widget visibility control. Show or hide widgets on specific pages, posts, categories, and more. Jetpack compatible. == Description == Widget Visibility Control lets you decide exactly where each widget appears on your site. Show widgets only on specific pages, hide them for logged-out users, display different content for different categories — all without writing a single line of code. = Why Choose This Plugin? = * **Lightweight** — Focused functionality without unnecessary features * **All features included** — No premium version required * **Jetpack Compatible** — Migrate from Jetpack Widget Visibility without reconfiguring anything * **Independent Storage** — Your rules are stored separately, safe from Jetpack changes * **Block Editor Ready** — Works with both classic widgets and block-based widgets * **Privacy Focused** — No external connections, no tracking, no data collection = Coming from Jetpack? = If you've been using Jetpack just for widget visibility and want to reduce your site's load, this plugin can help: * **No configuration needed** — Your existing visibility rules are automatically imported on activation * **Same familiar interface** — The visibility panel works as you're used to * **Keep or clean legacy data** — Choose to maintain Jetpack compatibility or clean up completely * **No disruption** — Your widgets will continue working as before = Looking for Widget Visibility for the First Time? = This plugin gives you control over where your widgets appear: * **Page targeting** — Show widgets on the front page, blog page, specific pages, or 404 error page * **Content targeting** — Display widgets only on certain categories, tags, or custom taxonomies * **User targeting** — Show different widgets to logged-in users vs. visitors * **Role-based display** — Target specific user roles (administrators, editors, subscribers, etc.) * **Author pages** — Control visibility on author archive pages * **Date archives** — Target daily, monthly, or yearly archives * **Post type support** — Works with custom post types and their archives = Multiple Conditions = Create sophisticated visibility rules by combining multiple conditions: * Use **OR logic** — Show if ANY condition matches * Use **AND logic** — Show only if ALL conditions match * Mix and match — Create exactly the rules you need = Built for Performance = * Minimal database queries with intelligent caching * Only loads assets where needed (widget screens) * Clean, optimized code following WordPress standards = Developer Friendly = * Follows WordPress Coding Standards * Fully translatable with complete i18n support * Action and filter hooks for customization * Clean uninstall — removes only its own data == Installation == 1. Upload the `widget-visibility-control` folder to `/wp-content/plugins/` 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Go to Appearance → Widgets and click the "Visibility" button on any widget 4. Configure your visibility rules and save **Coming from Jetpack?** Your existing visibility rules will be automatically imported. Visit Appearance → Widget Visibility to review your imported data. == Frequently Asked Questions == = Does this work with the block-based widget editor? = Yes! Widget Visibility Control works with both the classic widget editor and the block-based widget editor introduced in WordPress 5.8. = I'm using Jetpack. Will my visibility rules be preserved? = Yes. On activation, the plugin automatically imports all your existing Jetpack Widget Visibility rules. No reconfiguration needed. = Can I use this alongside Jetpack? = Yes, but to avoid conflicts, our visibility interface is automatically disabled while Jetpack Widget Visibility module is active. You can continue using Jetpack's interface, and when you disable the Jetpack module, our interface will take over automatically. Your visibility rules are stored in both formats, so the transition is seamless. = What happens if I deactivate or uninstall this plugin? = On deactivation, your rules are preserved for when you reactivate. On uninstall, only this plugin's data is removed. If you haven't cleaned the legacy data, Jetpack can still read your original rules. = Can I use multiple conditions on a single widget? = Yes. You can add multiple conditions and choose whether ALL conditions must match (AND logic) or just ONE condition needs to match (OR logic). = Does this plugin slow down my site? = No. The plugin is optimized for performance with intelligent caching. Assets only load on admin widget screens, and frontend checks are minimal and cached. = Does this require a WordPress.com connection? = No. This plugin works completely standalone without any external connections or dependencies. = Does this work with full site editing (FSE) themes? = This plugin is designed for classic widgets. If you're using a full site editing theme, widgets are typically managed through the Site Editor using blocks instead. == Screenshots == 1. Visibility button on classic widgets 2. Visibility conditions configuration panel 3. Multiple conditions with AND/OR logic 4. Settings page with data management options == Changelog == = 1.0.0 = * Initial release * Full support for classic widgets and block-based widgets * Independent data storage system * Automatic Jetpack Widget Visibility migration * Settings page for data management * Condition types: category, tag, author, page, post type, date, taxonomy, user role, login status * AND/OR logic for multiple conditions * RTL language support * Complete internationalization == Upgrade Notice == = 1.0.0 = Initial release. If migrating from Jetpack, your visibility rules will be automatically imported. == Support == Need help or have suggestions? * [Official website](https://servicios.ayudawp.com) * [WordPress support forum](https://wordpress.org/support/plugin/widget-visibility-control/) * [YouTube channel](https://www.youtube.com/@AyudaWP) * [Documentation and tutorials](https://ayudawp.com) Love the plugin? Please [leave us a 5-star review](https://wordpress.org/support/plugin/widget-visibility-control/reviews/#new-post) and help spread the word! == About AyudaWP == We are specialists in WordPress security, SEO, and performance optimization plugins. We create tools that solve real problems for WordPress site owners while maintaining the highest coding standards and accessibility requirements.