Support » Fixing WordPress » Different footer for each WP Page

  • Resolved lenny86

    (@lenny86)


    Hi,

    So I want to set a different footer for each wordpress page. I have read tons of posts about this topic but I cannot make it work 🙁

    My wordpress website is a collection of wordpress pages that make a menu. For each of this page I want to display different footer. My theme has a file named ‘home.php’. Within this file I have modified:

    <?php get_footer(); ?>'
    
    to 
    
    '<?php
    if ( is_home() ) :
      get_footer('alt');
    else:
      get_footer();
    endif;
    ?>

    and it works like that but only with home page. When I have tried to change:

    is_home to is_page nothing happens.

    Please help me out here because I have no idea how to make this thing work!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different footer for each WP Page’ is closed to new replies.