• Could anyone possibly tell me – how it is possible to hide the sidebar, from certain pages? Need to put a iframe of a forum onto the page, currently the sidebar takes too much space.

    Also I’m curious, is it normal for forum shoutbox not to show up in iframe? and are there anyway of getting around that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Load the sidebar based on the is_page() conditional.

    Thread Starter Supply8

    (@supply8)

    I’m still not quite clear how to edit that, is it in a separate page file?

    Since I don’t know your theme, I can’t pinpoint a specific file but, basically you would need to edit the relevant template file (e.g. page.php if it’s a page) and amend the call to the sidebar (presumably <?php get_sidebar():?>) to use the appropriate conditional. For example, if you don’t want the sidebar loaded on on the Page with the title “About”, you’d need to use:

    <?php if( !is_page('About') ) get_sidebar();?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WooTube – how to hide sidebar in specific page?’ is closed to new replies.