Hi David,
First, thank you for the lovely review!
I recently published a KB article about the breadcrumb: https://tsf.fyi/kb/a/212.
To change the “Home” entry, you can use the home
attribute, e.g. [tsf_home home="Anything here"]
.
To remove “Category: “, for now, you’d have to toggle on “Remove term type prefixes from generated archive titles” or otherwise provide a custom SEO meta title for the category.
I’m planning to add more control to the breadcrumbs (specifically, removing the Term:
-prefix), but I am researching its reception and awaiting feedback before making rash design decisions I cannot undo.
I see you added a red line to the margin. That’s a quirk because we used the <ol>
tag. I’ll have that fixed with the next update. The following filter will emulate that fix:
add_filter(
'the_seo_framework_breadcrumb_shortcode_css',
function( $styles, $class ) {
$styles[ ".$class ol" ][] = 'margin-inline-start:0';
return $styles;
},
10,
2
);
However, please note that CSS specificity may cause that CSS to be overwritten by your theme styles. Using margin-inline-start:0 !important
will force-override the other styles. I’m looking into making this more reliable without breaking integration overall.
Let me know if you have any suggestions for improvements to the breadcrumb. Cheers!