DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
VGSources
Blog

How to Control Widget Visibility in WordPress

Control WordPress widget placement with Jetpack Visibility, block-editor settings, or standalone plugins. Follow exact steps, choose OR or AND logic, target pages and users, and troubleshoot rules that do not behave as expected.
WorldWordPress Length10 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

WordPress widget visibility is controlled per widget or top-level block. The most direct no-code route is Jetpack: enable Jetpack → Settings → Writing → Widgets, then open Appearance → Widgets, select an item, and use Visibility to add show or hide rules. You can target page types, taxonomies, dates, authors, login state, and user roles. Multiple rules can use OR logic (any rule matches) or AND logic (every rule matches).

The exact screen depends on your theme and editor. Block themes use the block-based Widgets Editor; older widgets can be placed in a Legacy Widget block, and the Classic Widgets plugin restores the older interface. If Jetpack is not a fit, standalone plugins provide either a similar rule set or advanced conditions such as schedules, devices, query strings, and commerce contexts.

As an Amazon Associate I earn from qualifying purchases.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What widget visibility controls

A visibility rule decides whether a widget is rendered in a particular context. Instead of displaying the same sidebar everywhere, you can show a navigation widget only on posts, hide an Archives widget from search results, or restrict a member-only panel to signed-in users. Rules are attached to the individual widget or top-level block, so two items in the same sidebar can have different audiences.

Jetpack describes the feature as a way to “control where widgets are shown or hidden.” The control does not replace your theme’s sidebar, footer, or widget-area settings; it filters the selected item after WordPress has identified the current page and visitor.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Choose the right editor before changing rules

Block-based Widgets Editor

Current block themes and many modern classic themes use the WordPress block editor at Appearance → Widgets. A widget area appears as a canvas of blocks. Select the widget or top-level block to expose its settings in the sidebar, where the Visibility panel appears after Jetpack’s feature is enabled.

Legacy widgets inside a block editor

Some older widgets have no direct block equivalent. Add or edit a Legacy Widget block to manage that widget in the block-based editor. The legacy block keeps the widget’s original settings while allowing it to sit alongside newer blocks.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Classic Widgets interface

If your team needs the older drag-and-drop screen, install and activate the Classic Widgets plugin. The plugin restores the classic widget-management interface; visibility rules still need to be supplied by Jetpack or another compatible solution.

Enable Jetpack Widget Visibility

  1. Sign in to WP Admin and open Jetpack → Settings.
  2. Select the Writing tab.
  3. Find the Widgets section.
  4. Enable “Enable widget visibility controls to display widgets only on particular posts or pages.”
  5. Save the setting if your installation presents a separate save button.

Now open Appearance → Widgets. If the Visibility panel is missing, confirm that you enabled the setting on the same site and that you are editing a widget area supported by the active theme. A cache or an administrator-only plugin conflict can also leave an old editor screen visible; refresh the admin page after checking the setting.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Configure a rule on a widget or block

  1. Go to Appearance → Widgets.
  2. Open the widget area that contains the item you want to target.
  3. Select the widget or top-level block. In the block editor, click the item itself rather than the surrounding widget-area container.
  4. Open Visibility in the settings panel.
  5. Click the plus icon to add a condition.
  6. Choose whether the item should be Shown or Hidden when the condition matches.
  7. Select a condition and its value, such as Page → Search results or Category → News.
  8. Add additional conditions with the plus icon. Remove an unwanted condition with its x icon.
  9. Choose the matching logic. Leave Match all conditions unchecked for OR behavior; enable it for AND behavior.
  10. Save or update the widget arrangement, then test the affected URLs while logged in and logged out as appropriate.

Conditions you can target

The available choices vary slightly by editor and installed extensions, but Jetpack documents the following contexts.

Condition family Examples Typical use
Page type Front page, posts page, static pages, archives, custom post types, 404 pages Use different navigation or help content on the home page, articles, archives, or error pages.
Category A selected category archive or category-related context Show a topic menu only beside content in that topic.
Tag A selected tag Display a campaign or series widget on tagged posts.
Custom taxonomy A term in a registered taxonomy Target products, games, locations, or another custom content classification.
Date archive Date-based archive views Keep archive navigation where visitors are browsing by date.
Author A selected author context Show an author biography or contact widget on that author’s posts.
Login state Logged in or logged out Present sign-in prompts to visitors while hiding them from members.
User role A WordPress role Limit an editorial, contributor, or member-oriented widget to the relevant role.

Page-type rules describe the current request, while taxonomy and author rules describe the content context. A single post can satisfy several of these at once, which is why the choice between OR and AND matters.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Understand OR and AND logic

OR logic: any condition can show the widget

With Match all conditions unchecked, the widget matches when at least one rule is true. For example, a rule to show a help widget on category archives plus a rule to show it on 404 pages produces the intended “category archives or 404 pages” behavior. This is the quickest way to create a list of acceptable contexts.

AND logic: every condition must be true

Enable Match all conditions when the widget should appear only at an intersection. For example, combining static pages with a particular custom taxonomy term requires both facts to be true. If no page can satisfy all selected conditions, the widget will appear nowhere; remove one rule or switch back to OR if that was not intentional.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Show versus hide

A show rule defines the places where the widget is allowed. A hide rule defines an exception. For a simple campaign, showing a widget on a category is easier to reason about than showing it everywhere and adding many hide exceptions. Use one clear strategy per widget and document unusual combinations for other administrators.

Practical visibility recipes

Hide an Archives widget on search results

  1. Select the Archives widget in Appearance → Widgets.
  2. Open Visibility and add the page-type condition Search results.
  3. Set the action to Hide.
  4. Leave Match all conditions off because this recipe has one condition.
  5. Save and perform a search on the front end. Check a normal archive as well to ensure the widget remains there.

This is a documented Jetpack example and is useful when search pages already contain a result list that makes an archive list redundant.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Show a widget on category archives and 404 pages

  1. Select the widget and open Visibility.
  2. Add a category-archive condition and set the action to Show.
  3. Add a 404-page condition.
  4. Keep Match all conditions unchecked so either context qualifies.
  5. Open a category archive and a deliberately invalid URL to verify both cases.

Show a sidebar only on posts

  1. Choose the sidebar widget or block.
  2. Add the page-type condition for single posts (the exact label can reflect your post type).
  3. Set it to Show and save.
  4. Check a single post, a static page, the posts page, and an archive. The widget should remain only in the intended post context.

Hide a sign-in prompt from logged-in visitors

  1. Select the sign-in or account-prompt widget.
  2. Add the login-state condition Logged in.
  3. Set the action to Hide.
  4. Test in a private browser window while logged out and in a normal window while signed in.

Limit an editorial widget to a role

  1. Select the widget and add a User role condition.
  2. Choose the role that should see the item.
  3. Use Show with that role and test with an account that has the role. A visitor who is logged out should not be assumed to have it.

Working safely in the block editor

In a block-based widget area, visibility belongs to the selected block. Selecting the entire widget-area template part can expose settings for the container rather than the item you intended to target. Click the specific block in List View or on the canvas, then inspect the settings sidebar.

When a classic widget is represented by a Legacy Widget block, open the legacy block’s own settings before looking for Visibility. If the panel still does not appear, confirm that Jetpack’s Widgets setting is enabled and that the block is inside Appearance → Widgets, not an unrelated page or post editor.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

The Classic Widgets plugin changes the editing screen, not the rule concepts. A site can use it for the older interface and still apply the same page, taxonomy, user-state, and role logic supplied by a visibility extension.

Alternatives to Jetpack

A standalone plugin can be a better fit when the site does not use Jetpack or needs conditions beyond its documented set. Compare the options by editor support, condition depth, migration, and operational fit rather than by the number of settings alone.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Option Editor support Condition scope described by its listing Distinctive consideration
Jetpack Widget Visibility Classic widgets and block-based widget editing, depending on the site’s editor Page types, categories, tags, custom taxonomies, dates, authors, login state, and roles Integrated no-code workflow when Jetpack is already installed; rules are configured from the widget editor.
Widget Visibility Control plugin Classic and block-widget support Page and content targeting with AND/OR combinations Its listing describes structured rule storage and automatic import of Jetpack rules, which can reduce migration work.
Block Visibility plugin Focused on the block editor, including block-based widgets Scheduling, device targeting, login state, roles, specific users, query strings, referrers, metadata, WooCommerce, and other advanced conditions Useful when visibility depends on time, device, request data, individual users, or commerce context.

Before activating a replacement, verify its stated compatibility with your WordPress version, active theme, and editor. Test on a staging copy when possible, especially if the site has many existing rules or relies on legacy widgets.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Decide which approach fits your site

Use Jetpack when integration is the priority

Jetpack is the straightforward choice when it is already active and your requirements are page, taxonomy, author, login-state, or role targeting. Administrators get one familiar workflow without adding a separate visibility system.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Use Widget Visibility Control when you want a focused standalone tool

A dedicated plugin is appropriate when you do not want Jetpack’s broader stack or when automatic Jetpack-rule import and support for both classic and block widgets are important. Confirm the plugin’s current compatibility before enabling it on production.

Use Block Visibility for advanced block conditions

Choose a block-focused option when schedules, devices, query strings, referrers, metadata, specific users, or WooCommerce contexts are part of the requirement. These controls can be more precise, but they also create more combinations to test and document.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Troubleshoot a widget that appears in the wrong place

The Visibility panel is missing

  • Recheck Jetpack → Settings → Writing → Widgets and make sure the enable option is on.
  • Reload Appearance → Widgets and select the individual widget or block, not just its container.
  • Identify whether the theme uses block widgets, a Legacy Widget block, or the classic interface.
  • Temporarily review recently changed editor or optimization plugins if the panel disappeared after an update.

The widget never appears

  • Inspect every rule and note whether the action is Show or Hide.
  • Check whether Match all conditions is enabled accidentally.
  • Test the exact context: a static front page is different from the posts page, and a category archive is different from a single post.
  • Check role and login state with an account that actually has the selected role.
  • Clear any page or object cache after saving, then test in a private window.

The widget appears on an unexpected page

  • Look for OR logic that allows a second condition to match.
  • Check whether a taxonomy condition applies to the current post even though the URL is not an archive.
  • Review inherited or imported rules if you changed from Jetpack to a standalone plugin.
  • Confirm that you edited the widget area rendered by the active template; block themes can place similar-looking areas in different templates.

Logged-in testing gives misleading results

Login-state rules deliberately produce different output for signed-in and signed-out visitors. Test both states, and test a role-restricted rule with a user account that has the target role instead of relying on an administrator session.

Plan, document, and test a visibility system

  1. Write the audience and context first. Describe the desired result in plain language, such as “show the series menu on posts tagged Retro and on that series’ archive.”
  2. Choose show or hide deliberately. Use show rules for a small approved set of contexts; use hide rules for a broadly available widget with a few exceptions.
  3. Translate the sentence into conditions. Identify page type, taxonomy, author, date, login state, or role requirements.
  4. Set the logic before adding more rules. OR expresses alternatives; AND expresses an intersection.
  5. Test positive and negative cases. Open at least one URL that should display the widget and one that should not. Include logged-in and logged-out views when relevant.
  6. Record the reason. A short note in your site documentation prevents another administrator from deleting a rule that looks redundant.

For larger sites, keep a simple inventory of widget name, location, action, conditions, and test URLs. This is especially valuable during a theme change, because a new template may render a different widget area even though the rule itself remains valid.

What visibility rules do not change

Visibility controls decide whether the selected widget is output. They do not automatically create a sidebar, move a widget to another area, change a user’s permissions, or replace a theme’s template logic. A hidden widget can still exist in the editor, and a role-based display rule is not a substitute for capability checks protecting sensitive data.

Likewise, a rule that targets a taxonomy or author depends on that context being present in the current request. If a theme uses a custom template or an unusual query, verify the result on the front end rather than assuming the URL alone determines the match.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick implementation checklist

  • Jetpack Widget Visibility is enabled, or a compatible standalone plugin is active.
  • You know whether the site uses block widgets, Legacy Widget blocks, or Classic Widgets.
  • The exact widget or top-level block is selected.
  • Each condition has the correct show or hide action.
  • OR versus AND behavior matches the requirement.
  • Page, taxonomy, author, login-state, and role conditions were tested in their real contexts.
  • At least one allowed and one disallowed URL were checked after saving.
  • Logged-in and logged-out views were both tested when relevant.
  • Any migration or theme change was followed by a fresh front-end check.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.