Forums
Home / Plugins / Hide sidebar items (pages) on some specific pages.
(@wordpressjohn)
15 years, 5 months ago
I am looking for a plugin that is able to hide certain links/pages in the sidebar when I am at a specific page.
I have searched and found several good plugins that are able to hide pages. But when you hide a page(link) in the sidebar, its hidden on every page.
Example: when I am at http://www.example.com/cars I want to hide all bicycle links(to pages) in the sidebar. But when I am at: http://www.example.com/bicycles I want to hide all car links(to pages) in the sidebar.
I haven’t found this yet. I hope such a plugin/way exists.
(@reus)
15 years, 4 months ago
John, you found a solution?
I have the same problem.
John, i can hide the sidebar, but just in the frontpage.
<?php if (is_front_page()) { ?> //DON'T SHOW <?php }else{ ?> // SHOW SIDEBAR <?php get_sidebar(); ?> <?php } ?>
(@sauzelle)
14 years, 10 months ago
Does somebody have an answer to this? HAve a similar problem. Thanks
(@alanft)
you can use my plugin
http://wordpress.org/extend/plugins/widget-logic/
to show/hide entire widgets as needed. HTH