WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Problem with conditional is_home, and Page Templates!!!

[Resolved] Problem with conditional is_home, and Page Templates!!!

  • Hello,
    Is it normal that the is_home believe that Page Templates are the home page?

    cause is_home display the code below in every Page Templates :

    In the footer (i also try is_frontpage):

    <?php if ( is_home() ) { ?>
         my code
    <?php } ?>

    Thanks for any idea.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Problem with conditional is_home, and Page Templates!!!’ is closed to new replies.