if_is_home broken in version 4.1?
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘if_is_home broken in version 4.1?’ is closed to new replies.