The Widget Visibility tool in the Jetpack plugin can be very useful. It makes it possible to place a widget so it’s only visible in certain situations. For example, I’m building a digital library [see Society Journal for details] for my genealogy society. It consists of a WordPress page to introduce the library and each library item is a WordPress post assigned to the Library category and using tags to define the subject matter. I’m also using a defined set of tags to build a menu of sections – like histories, memoirs, genealogies and military. Additional tags are added to each item to further define its content.
Here you can see the library’s menu widget posted as part of the page content and in the sidebar you see the tag cloud widget. I also want the menu and tag cloud to appear in the sidebar of every library item post. Jetpack’s Visibility makes that happen.
Here you see the tag cloud widget. I have clicked the Visibility button that appears right next to the Save button on all widgets when Jetpack’s Widget Visibility feature is activated. The gray panel just above those buttons is the Visibility panel. First I set visibility to show this widget when a post assigned to the Library category is displayed then I clicked the Add item at the far right which displayed another set of options. I used it to display a Page and then chose the library’s home page. Save the widget and I’m done. Note that I can choose from category, author, tag, date or page as items to determine visibility. Once that selection is mad, the second option will present choices based on that option. For example, when I chose Category, the “is” drop-down displayed each post category I had defined in this blog.
In the example I’ve given here, I’m using menus, categories and tags to organize a diverse collection of records and publications, but these tools can also be put to good use to organize your growing collection of family stories into an online genealogy. Thanks to Jetpack and the Widget Visibility feature, pulling it all together is quite easy.