1. Home
  2.  → 
  3. Tips & Tricks
  4.  → Jetpack Widget Visibility

Jetpack Widget Visibility

by | May 5, 2021 | Tips & Tricks

As of September 26, 2022, Website tracker tools are no longer allowed on UCI Health and School of Medicine websites. If you are using Jetpack, Site Stats are ON by default. Learn how to Deactivate Jetpack Site Stats. Other features of Jetpack will still be available.

As part of our Jetpack features series, learn how to configure widgets to only appear on certain posts or pages. By enabling this feature, you can show or hide widgets based on the criteria you choose.

Things to Know

You will need to activate and set up Jetpack to take advantage of this feature.

Enable Widget Visibility

  1. Go to Jetpack > Settings
  2. Go to the Writing area
  3. Go to the Widgets panel and toggle ON “Enable widget visibility controls…”
    Widget visibility setting

Using Widget Visibility

What are some examples of when to use widget visibility?

  • You want to show an author bio, but only for posts by that author.
  • You want to show or hide a widget on the homepage.
  • You want a widget to show for a particular post category or tag.
  • You want to show a widget only for people who are logged into your site.

Visibility

Visibility is controlled by five things: page type, category (posts), tag (posts), date, and author. You can also hide widgets based on the same criteria. Each rule is handled separately.

How to use Widget Visibility

When adding or editing a widget, you should now see a button called “Visibility”.

  1. Add or edit an existing widget using the Customizer so you can see the changes in real-time.
  2. Click the Visibility button.
  3. Toggle Show or Hide and choose your criteria.
  4. For example, if I only want to show a widget on the home page (or front page), I would choose Show if Page is Front page.
    Widget visibility example
  5. This would only show the widget on the home page and hide it everywhere else.
  6. You can add more criteria by clicking the plus icon.
  7. When you are satisfied with the results, click the Publish button in the Customizer to save your settings.

There are a lot of variables. Try it out so you can display widgets in different parts of your website.

Subscribe to new Posts

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Announcements

Tips & Tricks