Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14444

    Hi,

    I would like to shorten, i.e. change the blog name/title concerning only the output/display of the breadcrumbs in CORONA.

    I found the file class-breadcrumbs.php with this code, but don’t know the right code for my question:

    Line 25:

    global $post;

    echo '<p class="breadcrumb"><span class="breadcrumb_info">'.__('You are here:','avia_framework').'</span> ';

    bloginfo('name');

    echo "";

    if(!is_front_page()){echo $markup;}

    and line 209:

    /* If $show_home is set and we're not on the front page of the site, link to the home page. */

    if ( !is_front_page() && $show_home )

    $trail[] = '' . $show_home . '';

    In WP backend the title of the site is

    VIAINA Atelier | Fotokreationen · Fotogemälde · Experimentelle Malerei

    and should be shortened only in the output of the breadcrumbs to just

    VIAINA Atelier

    Thanks a lot in advance.

    #83483

    Replace following line in class-breadcrumbs.php:

    echo '<p class="breadcrumb"><span class="breadcrumb_info">'.__('You are here:','avia_framework').'</span> <a href="'.get_bloginfo('url').'">';
    bloginfo('name');

    with:

    echo '<p class="breadcrumb"><span class="breadcrumb_info">'.__('You are here:','avia_framework').'</span> <a href="'.get_bloginfo('url').'">';
    echo 'VIAINA Atelier';

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Changing blog name ONLY in breadcrumbs of CORONA’ is closed to new replies.