• I used to have a simple function in my theme which worked flawlessly in versions prior to WordPress 4.1:

    <?php
    if ( is_home() ) {
        // show nothing on the homepage
    } else {
        // show the breadcrumb on all other pages
        instant_breadcrumb();
    }
    ?>

    This piece of code is included in footer.php but is ignored now I updated to 4.1. The breadcrumb function is now always displayed!

Viewing 2 replies - 1 through 2 (of 2 total)
  • It is working fine for me (using WP 4.1.0).

    Just a note, you could write the code like

    <?php
    if ( !is_home() ) {
        instant_breadcrumb();
    }
    ?>

    instead (shorter and nicer ??

    what theme are you using?

    have you tried to deactivate all plugins to see if that changes anything?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘if_is_home broken in version 4.1?’ is closed to new replies.