About the author

Related Articles

One Comment

  1. 1
    SturmGhost@email.null'

    SturmGhost

    I fixed it with this code:

    add_filter( 'wpseo_breadcrumb_output', 'custom_wpseo_breadcrumb_output' );
    function custom_wpseo_breadcrumb_output( $output ){
    if( is_product() ){
        $from = 'rel="v:url" property="v:title">Product</a>'; 
        $to = 'rel="v:url" property="v:title">New Title</a>';
        $output = str_replace( $from, $to, $output );
    }
    
    elseif ( is_shop() ) {
        $from = '<span class="breadcrumb_last">Products</span>'; 
        $to = '<span class="breadcrumb_last">New Title</span>';
        $output = str_replace( $from, $to, $output );
    }
    return $output;
    }
    
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2017 SolutionMmyself.com