Change the breadcrumbs to spanish

Community Forums Forums Internationalization and Translations Change the breadcrumbs to spanish

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Guillermina 1 year, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7903

    Guillermina
    Participant
    Post count: 7

    Hello!
    how to change the breadcrumbs on my site for another language, for example: It has (You are here: Home / Analizando mi negocio para ganar más) and I want to change it (Tu estas aquí: Inicio/Analizando mi negocio para ganar más)

    #8023

    ryandonsullivan
    Participant
    Post count: 11

    Hi Guillermina,

    Pasting this into your functions.php file should do the trick:


    add_filter( 'genesis_breadcrumb_args', 'child_breadcrumb_args' );
    /**
    * Amend breadcrumb arguments.
    *
    * @author Gary Jones
    *
    * @param array $args Default breadcrumb arguments
    * @return array Amended breadcrumb arguments
    */
    function child_breadcrumb_args( $args ) {
    $args['home'] = 'Inicio';
    $args['labels']['prefix'] = 'Tu estas aquí: ';
    return $args;
    }

    #10753

    Guillermina
    Participant
    Post count: 7

    Thanks for help me.

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

The topic ‘Change the breadcrumbs to spanish’ is closed to new replies.