• Hi all,

    I have WP 3.0.1 and the WooTheme Inspire. I have been searching around for a couple days now on and off and I can’t seem to find or figure out how to keep a widget from displaying on a certain page. Maybe I just need to know the right terminology for this. Its extremely easy to do this in Joomla so I figure WP has a similar method.

    Since I am dragging widgets into either the sidebar, footer left or footer right within my template, I assume there is a section somewhere to specify the pages that the sidebar, footer left and footer right appear on.

    I also read in the forum about creating a page template? I do see that when you create a page you have the option of choosing a Template on the right hand side. I have Default template, archive page, blog, contact form, full width, image gallery, portfolio, redirect, and sitemap. Maybe I need to create a new page template? Any help would be greatly appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You may want to check out some plugins for WordPress that can do this like Widget Logic. Otherwise, you will have to code this on your theme using WP’s Conditional Tags.

    As for creating a page template, a very simple page template creation would be to copy your page.php file and rename it to whatever-you-want.php and on top of that custom page file put in the first lines of the file the commented template name as in…

    <?php
    /*
    Template Name: Your custom page name
    */
    ?>

    and do your customization for this page (e.g. putting conditional tags and so on). This will then be visible in the page/post editor of WordPress. Just select your newly created custom page template before publishing page/post. For further info about this, checkout codex documentation about Creating Your Own Page Templates.

    Thread Starter usuallyresourceful

    (@usuallyresourceful)

    That last option, duplicating a template and customizing it, sounds like the best option for me right now. The link you provided is the exact page I was looking for.

    Thanks for the help

    For future Google’rs, my particular Woo Theme puts these template files in wp-content/themes/name-of-your-theme

    All of the page templates are preceeded by ‘template-‘

    example. template-archives.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Going crazy trying to remove a widget from a page.’ is closed to new replies.