Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #208279

    Our site http://www.jarlsbergpartners.no has a homepage called Forside (means first page). Still the breadcrumb is using the term Home for the Forside page. I cannot understand why..? I would like the breadcrumb line to start with Forside so it is always in line with the menus and name of the front page.

    When I look in the Appearance – Menu section and All pages; there are two pages that includes the word Forside. “Forside” and “Hjem: Forside”. I suspect it is the last one that creates the problem since Hjem means Home in Norwegian. However, when I look under the main Pages section, I can only the see the regular Forside page.

    Any clues?

    #208286

    Hi jarlsberg!

    Add this on functions.php:

    add_filter('avia_breadcrumbs_args', 'avia_change_home_breadcrumb', 10, 1);
    function avia_change_home_breadcrumb($args){
    $args['show_home'] = __( 'Forside', 'avia_framework' );
    return $args;
    }

    Regards,
    Ismael

    #208385

    Thank you. However, It did not work for me. The homepage did not load after including this in functions.php.
    Maybe it should be put into a specific line?
    I use Notepad++ for editing.

    #208461

    Hey!

    I just tried the code and it works for me. Please delete the entire code in functions.php and replace it with http://pastebin.com/raw.php?i=gxH3hQjj

    Cheers!
    Peter

    #208470

    Thank you so much, Peter! Now it works well.
    Greetings,
    Jan

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Name of HOME page in breadcrumb’ is closed to new replies.