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

Embed Snippet on Your Site

Change the separator html on pages

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

<10
Code Preview
php
<?php
add_filter( 'aioseo_breadcrumbs_separator', 'aioseo_breadcrumbs_separator' );
function aioseo_breadcrumbs_separator( $separator ) {
	if ( is_singular( 'page' ) ) {
		$separator = '<span class="my-separator">-></span>';
	}
	return $separator;
}

Comments

Add a Comment