• The small tweak to make this plugin to display 404 page breadcrumbs (right not it doesn’t).

    Go to wp-content/plugins/breadcrumbs/yoast-breadcrumbs.php or open it in plugin editor.
    Find the line:

    } elseif ( !is_page() ) {

    add two lines above:

    } elseif (is_404()) {
                    $output = $homelink.' '.$opt['sep'].' '.bold_or_not('404 - Missing');

    Sure it will be nice to put this 404 text at the plugin options page but I leave it to the author.

    Cao.

Viewing 1 replies (of 1 total)
  • Thanks for the tip but it doesn’t seem to work with me. It doesn’t display the 404 message.

    My code

    } elseif ( !is_page() ) {
    		$output = $bloglink.' '.$opt['sep'].' ';
    		} elseif (is_404()) {
                    $output = $homelink.' '.$opt['sep'].' '.bold_or_not('Page non trouvée');
    		if ( ( is_single() || is_category() || is_tag() || is_date() || is_author() ) && $opt['singleparent'] != false) {

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Yoast Breadcrumbs] 404 Breadcrumbs’ is closed to new replies.