• Resolved pronetworkads

    (@pronetworkads)


    I want to use a different header background for the home page and a different one for the rest of the pages.

    This is the code I’m using in the header.php file, but it is throwing an error on the first line:

    <?php if (!(is_home() ) {?>
    <div class="row1">
    <?php } else {?>
    <div class="row2">
    <?php}?>

    Any ideas?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Conditional tag in header’ is closed to new replies.