Support » Plugin: Yoast SEO » [Plugin: WordPress SEO by Yoast] breadcrumb category precedence

  • it would be great, if i could define order of the categories, which show in breadcrumb, but i know that there is not such option in standard WordPress as taxonomy has no order column (i’m using excelent Gecka Terms Ordering plugin for it), so maybe some filter would help.
    Or at least there may be a option to print ALL terms in all/selected $taxonomies, than the code around row 185 would be something like

    if ( count($terms) > 0 ) {
                  foreach ($terms as $term) {
    							$bctitle = wpseo_get_term_meta( $term, $main_tax, 'bctitle' );
    							if (!$bctitle)
    								$bctitle = $term->name;
    								$termlinks[] = '<a href="'.get_term_link($term, $main_tax).'">'.$bctitle.'</a>';
                  $output .= implode(', ', $termlinks) . ' '.$sep.' ';
    					$output .= $this->bold_or_not( $this->get_bc_title( $post->ID ) );

  • The topic ‘[Plugin: WordPress SEO by Yoast] breadcrumb category precedence’ is closed to new replies.