Home Forums WoodMart support forum Active filter

Active filter

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

    kuba
    Participant

    Hi,
    when I click on a Attribute term that has archives turned on, when in active filter section it is not showing. How to fix that?

    #471909

    kuba
    Participant

    I see it when I turn off this function:

    add_filter('wpseo_breadcrumb_single_link', 'remove_breadcrumb_title' );
    function remove_breadcrumb_title( $link_output) {
    	if(strpos( $link_output, 'breadcrumb_last' ) !== false ) {
    		$link_output = '';
    	}
       	return $link_output;
    }

    But I need that for for single product page. So can you modify this only ot work on singe product page?

    • This reply was modified 11 months ago by kuba.
    #471911

    Nejc
    Participant

    Hey Kuba.

    Here is code for you:

    add_filter('wpseo_breadcrumb_single_link', 'remove_breadcrumb_title' );
    function remove_breadcrumb_title( $link_output) {
        if(is_product() && strpos( $link_output, 'breadcrumb_last' ) !== false ) {
            $link_output = '';
        }
        return $link_output;
    }
    
    #471914

    kuba
    Participant

    Great, works! 🙂

    Also I can’t find the text: Addresses that is visible in My Account to translate in Loco Translate, can you tell how to change it?

    #472013

    Artem Temos
    Keymaster

    Hello,

    As for the “Address” translation, it is a WooCommerce bug. It is already reported by a lot of users on WooCommerce Github. Here is a link to this issue discussion that should help you https://github.com/woocommerce/woocommerce/issues/36490

    Kind Regards

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