The NetMediaBlog

  • Home
    • About NetMediaBlog
    • Contributors
    • Guest Posting
    • Contact
  • Technology
    • Computers
      • Softwares
      • Downloads
      • Gaming
    • Smartphones
    • Internet
      • Tech Guide
  • Tutorials
  • Blogging Tips
    • WordPress
    • Blogger
    • SEO
  • Social Media
    • Facebook
    • Twitter
    • LinkedIn

Show or hide different widgets on different pages on WordPress

September 10, 2014 By Nwosu Desmond 8 Comments

Do you wish you could show or hide different widgets on different pages on your WordPress site? Do you want to customize your WordPress site to have different widgets on your sidebar for different pages of your website?

Today I want to show you how you can have different widgets for different pages, categories, custom taxonomies on your WordPress site. This way you won’t have to create multiple sidebars and duplicating widgets on your site.

Showing or hiding different widgets on your sidebar will help create an uncluttered sidebar and create a clean website. Some widgets may not be necessary for some pages or categories, why show them on such pages?

Show or Hide Different Widgets on Different Pages, Categories and Custom Taxonomies

While some WordPress themes may come with such functionality, most others don’t and you don’t have to start writing codes to show or hide widgets on different pages of your site.

There are several WordPress plugins out there like Display Widgets, Widget Logic, Widget Context, Widgets Reloaded, and Genesis Simple Sidebars that can be used to show or hide different widgets on different pages on WordPress.

But my favorite and easiest way to show or hide different widgets on different pages on WordPress is with the “Widget Visibility” module of Jetpack by WordPress.com plugin. The widget visibility module controls which pages your widget appears on.

Why you may want to show or hide different widgets on different pages, categories or taxonomies on WordPress include the following;

  1. You may want a widget only to appear on some pages and not show on others
  2. You may want to show a video on the sidebar of your home page, but not on your inner pages.
  3. You want a different testimonial to show up in the testimonial widget on each page
  4. You may want different affiliate products to show on some specific post pages related to them and not others.
  5. You want to offer different opt-in offers on different website pages
  6. You want to display a specific widget only on posts by a certain author or in a specific category
  7. You may want to show some forms on some pages and not others
  8. Show different ad sizes and units on different pages etc.

Now let’s see how to show or hide different widgets on different pages on WordPress using Jetpack Widget Visibility Module.

First you need to install the Jetpack by WordPress.com plugin if you don’t already have it installed on your WordPress site.

Activate the Jetpack Plugin and navigate to Jetpack > Settings and activate the Widget Visibility Module.

After this then navigate to Appearance > Widget on your WordPress Dashboard.

Show or hide different widgets on different pages on WordPress

Then click on any widget you want to show or hide from specific pages, categories or taxonomies and you will notice a new “Visibility” button next to the Save button.

Show or hide different widgets on different pages on WordPress

Click on the Visibility button to reveal other options. This is where the magic is done. Here you will choose to show or hide any widget on/from any page.

Show or hide different widgets on different pages on WordPress

The first option is to show or hide. If you want to show the widget you will have to choose the show option else choose the hide option to hide the widget.

Show or hide different widgets on different pages on WordPress

Then click on the –Select– option below to choose the page where you want to show or hide the widget on/from.

For emphasis let’s say i want to show a widget only on the home page and hide it from all other pages of my WordPress blog. I will then choose “Page” from the dropdown options and select “Front Page” on the next option and save.

This widget will only show on my home page and hide on every other page of my WordPress blog. See images below for illustration.

Show or hide different widgets on different pages on WordPress

Show or hide different widgets on different pages on WordPress

You can also use same way to hide any widget from any page by using the “Hide” option. This is very important for displaying different widgets on different pages.

You can even show widgets on post pages of specific authors using the author option in a multi-author blog. This is good if you want to share adsense spot with your authors on your sidebar for their contributions on your site.

Other options are categories, tag and date. As you can see this is a simple tutorial that does not require writing any extra code.

What do you think of this tutorial? Use the comment section below to tell me what you think. If you have any questions I will be happy to help you in any way I can.

Other Posts You May Like...

  • stock-market-3Top WordPress Plugins to Boost Your Site’s Traffic
  • Flat design modern vector illustration concept of process web page coding and programming on laptop with workflow objects and icons. Isolated on stylish blue backgroundMore Reasons to Blog as an Entrepreneur
  • Wordpress-start-image5 Great WP Widgets for Your Blog
  • thumbBad web design mistakes you should avoid
  • 5 Tips to Improve Your Blog’s Crawling and Indexing FrequencyHow to Improve Your Blog’s Crawling and Indexing Frequency

Filed Under: Blogging Tips, How-To Tagged With: blogging, hide widget, Jetpack, show widget, web design, Widget visibility, wordpress, Wordpress widget visibility

Comments

  1. Akaahan Terungwa says

    September 10, 2014 at 3:44 am

    Hello Nwosu,

    I so love this entry!

    You see, some widgets are only great on the sidebar (of the homepage) and completely useless once a reader leaves the homepage and lands on another of your entry. Won’t it be a great idea, in such circumstances, to maintain a clean site?

    Fortunately, my theme has the feature inbuilt. But for all persons who themes do not, this would sure be a great option.

    Always,
    Terungwa

    P.S.

    What my theme does not support is the option of removing the default comment box from pages. Does this plugin ensure this functionality?

  2. Nwosu Mavtrevor says

    September 10, 2014 at 8:22 am

    Thanks Akaahan for your awesome contribution but regrettably the Jetpack Widget Visibility cannot remove the default comment box from pages. But i bet there are other ways you can do that using custom functions. What theme is that exactly maybe i could help you.

  3. Manoj says

    September 10, 2014 at 11:29 am

    Hi Nwosu,

    I appreciate your hardwork. I know about just Display widgets, but you have given here multiple choices for the readers. Good. Now Jetpack also giving the same service. We can decide which widget should appear on particular pages via widget visibility feature.

  4. Jenifer says

    September 17, 2014 at 11:02 am

    Nice article Thanks for posting

  5. xposedigital says

    September 18, 2014 at 3:07 pm

    Display widget is a really time saver. It works with every theme I have used it. This post reminded me when it came as a thought to solve a problem. Anyway I just did a search. Thanks for sharing other plugins.

  6. Manik says

    September 20, 2014 at 8:14 am

    Hi Nwosu,
    Thanks for sharing nice and essential tutorial.

  7. Muhammad Mairaj says

    September 20, 2014 at 9:59 am

    Hi
    Wonderful article about WordPress widgets. How nicely you share its tutorial with the help of some picture through which everyone can easily understand. Thanks for sharing such an excellent post.

Leave a Reply Cancel reply

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

Subscribe To My Blog

Get the latest content first.


Recommended Articles

  • Whatsapp Pay for a Friend
  • How to check inner pages PageRank
  • 4Sync cloud storage: Get 15GB free storage space
  • Why SSD is better than HDD? SSD in cloud computing
  • How to Dual boot a PC with Windows 8 and Windows 7

Recommended from BroadedNet

We are upgrading BroadedNet, Blog Traffic Tool. Please keep reading www.netmediablog.com
Get Netmediablog Extension

Find Us on Facebook

Recent Comments

  • Sugar Daddy on Search Engine Optimization Tips for Images
  • Sugar Mummy on How an Active Blog Affects Your Google Rank
  • Larry Frank on 15 Highly Optimized WordPress Themes for Search Engines
  • Steven on How to transfer Contacts from Samsung Galaxy S2 to Galaxy S4
DMCA.com
  • About NetMediaBlog
  • Contributors
  • Advertise With Us
  • Contact Us
  • Guest Posting
  • Privacy Policy

Disclaimer Copyright © 2023 Netmediablog . Log in