WordPress.org

Ready to get started?Download WordPress

Forums

Breadcrumb Trail
Fix for localization (1 post)

  1. lenasterg
    Member
    Posted 6 months ago #

    Hi.
    Thanks for the great plugin.
    I used it for a Greek website, so I needed the strings to be displayed in Greek.

    This can be done by adding at line 125 of /inc/breadcrumbs.php
    after the
    if ( !empty( $this->items ) && is_array( $this->items ) ) {
    the following:
    `foreach ( $this->items as $value ) {
    $translated[] = __( $value , 'buddypress' ) ;
    }
    $this->items = $translated ;`

    Bests Lena

    https://wordpress.org/plugins/breadcrumb-trail/

Reply

You must log in to post.

About this Plugin

About this Topic