Home / Admin / Change the separator symbol on pages
Duplicate Snippet

Embed Snippet on Your Site

Change the separator symbol on pages

This snippet can be used to change the separator symbol on pages

<10
Code Preview
php
<?php
add_filter( 'aioseo_breadcrumbs_separator_symbol', 'aioseo_breadcrumbs_separator_symbol' );
function aioseo_breadcrumbs_separator_symbol( $symbol ) {
	if ( is_singular( 'page' ) ) {
		$symbol = '->';
	}
	return $symbol;
}

Comments

Add a Comment