Support » Themes and Templates » Conditional statement to change (is_home() setting

  • I’m using a theme switcher to go between two themes but the problem is one them uses the “posts” setting for the homepage(is_home() and the other theme uses the static front page (is_front_page().

    Should I have a conditional statement in the index that asks <?php if (is_front_page()){ ?>
    <?php else { ?>

    I really don’t know php but I’m trying to figure this out and I don’t know how to put the conditional statement together or if this will work. Thanks for any help!

  • The topic ‘Conditional statement to change (is_home() setting’ is closed to new replies.