mattikeuh
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Themes and Templates
In reply to: [Chic Lite] Remove “Shop” In breadcrumbsI found the Solution.
I needed to remove this:if ( wc_get_page_id( 'shop' ) ) { //Displaying Shop link in woocommerce archive page $_name = wc_get_page_id( 'shop' ) ? get_the_title( wc_get_page_id( 'shop' ) ) : ''; $shop_url = wc_get_page_id( 'shop' ) && wc_get_page_id( 'shop' ) > 0 ? get_the_permalink( wc_get_page_id( 'shop' ) ) : home_url( '/shop' ); if ( ! $_name ) { $product_post_type = get_post_type_object( 'product' ); $_name = $product_post_type->labels->singular_name; } echo ' <span itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"><a itemprop="item" href="' . esc_url( $shop_url ) . '"><span itemprop="name">' . esc_html( $_name ) . '</span></a><meta itemprop="position" content="'. absint( $depth ).'" /> <span class="separator">' . $delimiter . '</span></span> '; $depth++; }
From the /inc/extras.php.
Greetings,
MathieuForum: Plugins
In reply to: [WooCommerce] Remove “Shop” In breadcrumbsThanks for reply. I will check the websites above.
Forum: Themes and Templates
In reply to: [Chic Lite] Remove “Shop” In breadcrumbsHello,
I don’t have a url, It’s running on a local computer to test some things.
https://prnt.sc/26iko9sThis is a screenshot from the title + breadcrumb.
If you check it you see=> Home > Shop > T-shirt.
But i don’t use the Shop Item so my question is how to remove the “shop” ? Because the Shop isn’t a catagory. If i delete the page ‘Shop” Then it change to: Products automatically.Greetings.
Forum: Plugins
In reply to: [StageShow] Discount code with discount on total priceI only need the code for a discount code that the total is less and not the ticket.
Viewing 4 replies - 1 through 4 (of 4 total)