Replacing standard breadcrumbs with yoast breadcrumbs
Hi,
I've been trying to replace the standard breadcrumbs with the yoast ones (because of the better markup).
I tried the following:
// Remove default breadcrumbs and add Yoast ones instead
remove_action('cp_breadcrumb');
add_action('yoast_breadcrumb');
if (!function_exists('yoast_breadcrumb') ) {
function yoast_breadcrumb() {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
}
}
Sadly, this is ineffective. Does anyone have a better idea or a solution?
Help would be appreciated