Forum Replies Created

Viewing 1 replies (of 1 total)
  • hi everybody
    I have used the conditional tags for my pages and they works fine…till i realized that wordpress (for no reasons at all) duplicate the default header at the bottom of the page!

    this is the code for my page.php:

    <?php
    if (is_page('4'))
    {
    include(get_template_directory() . '/header-verifica.php');
    } else if (is_page('2'))
    {
    include(get_template_directory() . '/header-contatti.php');
    }
    else if (is_page('29'))
    {
    include(get_template_directory() . '/header-opensource.php');
    }
    else {
    include(get_template_directory() . '/header.php');
    }
    ?>

    You can see what happens to my pages here https://www.openwebitalia.it

    Thanks in advance to all

Viewing 1 replies (of 1 total)