Conditional statement to change (is_home() setting (1 post)

  1. leebelle
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic