• Hi there,

    I have a static home page with a couple of tables, I would like to remove the widget sidebar from my static home page and use the space to extend my table. The widget must still be present on all the other page though.

    I have read this topic and found it usefull, but did not resolve my issue.
    https://www.ads-software.com/support/topic/288535

    I tried the code below, but no result, I also dont know where on page.php i must include it?

    <?php
      if ( is_home() || is_page('69') ) {
      } else {
        get_sidebar();
      }
    ?>

    There is two widgets with the theme I use and they called as below.

    <?php include (TEMPLATEPATH . '/sidebar1.php'); ?
    <?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
    get_sidebar(); // appears no where on page.php

    any help…

Viewing 1 replies (of 1 total)
  • Try

    <?php
      if ( is_home() || is_page('69') ) {
      } else {
        include (TEMPLATEPATH . '/sidebar1.php');
        include (TEMPLATEPATH . '/sidebar2.php');
      }
    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘remove widgets from static home page’ is closed to new replies.