Build Your Own Business Website header image

Whoops, you've found some premium content!

Watch the opening clip of this video to preview it,
the full video is available to paid members.

Control Which Widgets Display on Which Pages

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

The next thing we are going to do in this lesson on Integrating a Professional Services website with Google is decide which widgets display on which pages. Currently all of the widgets display on all of the pages. We’ve got the “we love helping small business”, “contact us” and “categories”.

Display Widgets Plugin

Everything is showing up on our pages and we don’t want every widget on every page. To solve this we are going to use a plugin called Display Widgets. Come on over here to Appearance and Plugins and Add New Plugins. We’ll search for Display Widgets. This is a very simple version of the widget plugin. It has a simple set of controls.

Display Widgets vs Dynamic Widgets

If you need more complex controls then the one that I use for that is Dynamic Widgets. If you’ve got a site with custom post types and custom taxonomies then it’s the right tool for the job. Dynamic Widgets is very powerful and a very flexible tool for really fine tuning but on a site with 10 pages and a bunch of blog posts you don’t really need something that complicated.

Using Display Widgets

Display Widgets does the job and once it’s activated when you come over here to the Widgets Panel, you’ll find that your widgets now have an additional choice.

Ability to Limit Who Sees the Widget

That choice is “show widget for” and “hide on checked pages”. This lets you determine whether you want everybody to see it or you just want users who are either logged in or logged out which can be valuable in some situations.

Display Options

This one gives you one of two choices. It’s either “hide on checked pages” or “show on checked pages”. So if you only want it to show up once or twice then you use the “show on checked pages”. If you want it to show up almost all the time except for a few exceptions then you would use “hide on checked pages”. That limits the amount of checking you have to do.

Displaying Our Categories Widget

For the categories widget on our professional services site, I only want it to show up on the blog post page and on archive pages. I’m going to have that “show on checked pages”. I’m going to check the blog, on archives, on a single post, on 404 and search. It’s no longer going to show up on any regular pages. But then we get down here and I’m going to have it go on all category pages and all tag pages. I don’t have any tag pages now. This is going on essentially all post related pages.

Displaying Our Contact Us Widget

Then we are going to take the “contact us” widget off all our post pages and article pages. So we’ll come back over here and on our contact us form we are going to again “show on checked pages” and we’re going to show it on 404 and search and then “About Rick Anderson”. All of these pages but not the articles page as that is the blog page. And we’ll show it on testimonials. But we are not going to show it on anything else.

Again, this is a single post and we don’t want the contact form to show up there. We’ve just got this Call to Action and then categories. But if we come over to About…and actually I think I’m going to take the call to action off of the About page. Let’s come back over here and we’ll scroll down and say “hide on checked pages” and then that is going to be on the About. So we’re going to hide it on that one.

So now we’ve got our contact us form, we’ve got one testimonial, we’ve got a map on our business website.

Save $200 on Membership Now!

Start learning today for as little as
$0.82 PER DAY!
Subscription Options
0 Comments… add one
0 comments… add one

Leave a Comment