Home / Admin / Change Breadcrumb Homepage Name in Schema
Duplicate Snippet

Embed Snippet on Your Site

Change Breadcrumb Homepage Name in Schema

This filter can be used to change breadcrumb Homepage name in schema to 'Homepage'.

IMPORTANT NOTE: Whilst it is possible to remove the word “Home” from breadcrumbs using this filter, this is not recommended because Google will return an error if no name is specified.

50+
Code Preview
php
<?php
add_filter( 'aioseo_schema_breadcrumbs_home', 'aioseo_filter_schema_breadcrumbs_home' );
function aioseo_filter_schema_breadcrumbs_home( $name ) {
   return 'Homepage';
}

Comments

Add a Comment