Support » Plugin: YITH WooCommerce Brands Add-On » Edit brand page title

  • federicadm

    (@federicadm)


    Hello I want to edit page title changing “Brand: Nike” in “Nike”.
    I found this solution in an older topic but it doesn’t work for me. Why?

    if( defined( ‘YITH_WCBR’ ) && ! function_exists( ‘yith_wcbr_change_brand_page_title’ ) ) {
    function yith_wcbr_change_brand_page_title( $title ) {
    global $wp_query;

    if( is_tax( YITH_WCBR::$brands_taxonomy ) ){
    $title .= ‘ ‘ . __( ‘products’, ‘yith_wcrb’ );
    }

    return $title;
    }
    add_filter( ‘woocommerce_page_title’, ‘yith_wcbr_change_brand_page_title’ );
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    simply you have to set as empty the option “Brands Label” in the plugin options panel.
    Let me know if you need additional help.

    federicadm

    (@federicadm)

    Hello,
    I’ve done it but it doesn’t work. Pls take note that I refer to product brands page and not to product detail page.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit brand page title’ is closed to new replies.