Support » Themes and Templates » Remove sidebars from custom home page

  • Hi! 🙂
    I’m using a custom index.php for my website and as I read in the codex I’m using:

    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);

    and everythign works fine.

    The question is: how can I disable sidebars only from my custom home page? I tried with is_home but it doesn’t work (I think because it’s not really the “home” wp thinks.. it’s a custom php file that bridges to WP…) I also tried with:

    define(‘sidebars_widgets’, false);

    But no luck..

    Can you help me? 🙂

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Remove sidebars from custom home page’ is closed to new replies.