is_front_page does not work / different footer on every page

Discussion in 'ColorWay WordPress Theme' started by govinda, Feb 16, 2014.

  1. govinda

    govinda New Member

    Joined:
    Oct 21, 2013
    Messages:
    14
    Likes Received:
    0
    Hello,
    I would like to set a different footer on every page. It wors fine with every page exept the home page.

    I tried this 2 following code for the home page, none of them are working:

    <?php if (is_front_page()){ ?>
    <?php endif; ?>
    <?php if (is_home()){ ?>
    <?php endif; ?>

    what would be the right code?

    I am using this for pages and is working perfectly:
    <?php if ( is_page( 109 ) ) : ?>
    <?php endif; ?>

    (changing the numbers for the pages)

    Thanks for helping
    my page is: www.govinda-leipzig.de





     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160

Share This Page