Controlling Widgets and Sidebars
-
I’m working on a website using the Twentyeleven theme – and then creating my custom themes. I created a new static page as my home page and got it looking how I want it with 2 widgets on the sidebar.
Now here is the problem. On one page I don’t want any sidebar. I don’t want any widgets. All I want is to display some posts full page. One some other subpages I want the sidebar but I want different widgets to display.
Is there a way to accomplish this or do you have to have the same widgets on every page in the same layout? I tried creating a custom template where I completely remove the <?php get_sidebar(); ?> but the sidebar and widgets still display on the page that I set that template to. I also tried using widget logic and put in !is_page(‘news’). But the widgets still display on the news page.
- The topic ‘Controlling Widgets and Sidebars’ is closed to new replies.