Yoast SEO
Breadcrumbs PHP code makes broken pages (1 post)

  1. Epox
    Posted 2 years ago #

    WP:WordPress 3.5
    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic