How to Show or Hide WordPress Widget Only on Specific Page or Post?

Must Read

Four Things You Most Likely Didn’t Know About Guest Post Service

Guest Posting is a great way to raise awareness and build links. However, before starting a guest...

How Does Blogger Outreach Help Your Brand Grow?

Bloggers are eager to promote their content and engage their readers, so building relationships with them are...

How To Get Your Startup Noticed

Being an entrepreneur is always a learning experience. That's because the rules are constantly changing. The change...
Shrinivas
Hi, this is +Shrinivas. I am a freelance web developer and part time blogger having skills in WordPress, HTML/CSS, jQuery, PHP and CodeIgniter.

Adding widgets to the wordpress powered blog or site makes it more convenient for the visitor to go through the site. We can add categories, recent posts, recent comments, tag cloud, pages and custom menus to keep visitor involved with the blog content. But how to show or hide the WordPress widget on specific page or post? I messed with such scenario while designing a wordpress site for a client. I wanted to show “related pages” widget on a specific page instead on all pages and found an interesting plugin called Widget Context that did this task as I expected.

Also read:

Quick Review of Widget Context WordPress Plugin

Widget Context is a useful plugin developed by Kaspars to handle wordpress widgets, the plugin makes it easy to show or hide widgets on particular page or post of the blog. This plugin adds settings panel for all the widgets you create in widget section.

Another interesting feature of Widget Context is, it supports wildcards, allowing you to show or hide widgets on categories and URLs of your website. Suppose If you want a widget to display only on SEO category of your blog then you can use category/seo/* for that widget. Here is a step by step guide on using Widget Context plugin.

How to use Widget Context Plugin to Show or Hide Widget on Specific Page?

Assuming we have a custom menu widget and we want to show it only on “Our services” page, here is the solution-

  1. Show or Hide Widget on Specific PageFirst of all go to admin area of your site, login with your user name and password
  2. Click on “plugins >> add new”
  3. Search for ”Widget Context” plugin and install, activate the same
  4. Now go to “Appearance >> Widgets” and slide down the custom menu widget that you want to display on “Our services” page, you will get widget context settings
  5. Now specify “*/our-services” in target by URL field, make sure Widget Context combo box is set to “Show on selected”.
  6. Finally click on “Save button”.

Plugin URL: www.wordpress.org/plugins/widget-context

- Advertisement -

Latest News

Four Things You Most Likely Didn’t Know About Guest Post Service

Guest Posting is a great way to raise awareness and build links. However, before starting a guest...

How Does Blogger Outreach Help Your Brand Grow?

Bloggers are eager to promote their content and engage their readers, so building relationships with them are essential to growing your brand....

How To Get Your Startup Noticed

Being an entrepreneur is always a learning experience. That's because the rules are constantly changing. The change happens so subtly that you...

The Benefits of Treemapping for Data Analysis

Treemapping is a great tool for data analysis because it allows you to see the big picture and the details at the...

Tips for driving more traffic to your engineering blog

Over the last two decades, blogging has transformed from being a somewhat hobbyist pursuit to a fully-fledged sector of the internet that...

More Articles Like This

- Advertisement -