Forums
Home / Themes and Templates / Display widgets advanced
(@blueyez)
14 years, 1 month ago
so i have a
Sidebar Everywhere
widget
now i added a
Contact Sidebar
widget for the contact page.
how can i disable the sidebar everywhere from my contact page ? i only want to show the widgets that are from “contact page” widget
something like:
if page = contact deregister sidebar everywhere widget register contact sidebar widget
easy fix:
<?php # get_sidebar(); ?> <?php if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Contact’) ) : endif;?>