Title: Breadcrumbs PHP code makes broken pages
Last modified: August 21, 2016

---

# Breadcrumbs PHP code makes broken pages

 *  [Epox](https://wordpress.org/support/users/epoxhun/)
 * (@epoxhun)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/breadcrumbs-php-code-makes-broken-pages/)
 * WP:WordPress 3.5
    WPSEO:1.4.19 PHP: 5.2.17
 * I used to use the breadcrumb’s PHP in my theme’s page.php. The original code 
   were tuned to not display in home page.
    ` <?php if( !is_front_page() ) { /* 
   this it not home */ if ( function_exists('yoast_breadcrumb') ) {yoast_breadcrumb('
   <div id="breadcrumbs">','</div>'); }; } ?>  Today my site started to not render
   the html below this code. I try to use the original code from the plugin’s page
   where I enabled the breadcumbs, but have the same problem.
 * [http://wordpress.org/plugins/wordpress-seo/](http://wordpress.org/plugins/wordpress-seo/)

The topic ‘Breadcrumbs PHP code makes broken pages’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [blank-page](https://wordpress.org/support/topic-tag/blank-page/)
 * [php code](https://wordpress.org/support/topic-tag/php-code/)

 * 0 replies
 * 1 participant
 * Last reply from: [Epox](https://wordpress.org/support/users/epoxhun/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/breadcrumbs-php-code-makes-broken-pages/)
 * Status: not resolved