No results found. Try again with different words?

Search must be at least 3 characters.

How to Remove Shop Item Link from BreadcrumbList Schema on Product Page?

Schema Pro allows you to Remove Shop link item from BreadcrumbList schema type.

You will need to use wp_schema_pro_link_to_frontpage filter to be able to Remove shop link item.

Example: Add the following code to your functions.php file.

add_filter( 'wp_schema_pro_link_to_specificpage', 'my_function', 10, 3 );
function my_function( $bool, $post_type, $page_title) {
  if( $post_type == 'product' ){
     return false;
  }
}

Here is how the Shop link item will be removed after you add the above code to your functions.php file.

Was this article helpful?
Did not find a solution? We are here to help you succeed.

Related Docs

Scroll to Top