amarinediary / WordPress-simple-URL-based-breadcrumb

🍞 A non-invasive WordPress unofficial plugin, minimalist and SEO friendly. both lightweight and lightning fast, adding URL based breadcrumb support. Plug-and-play, with no required configuration.
https://stackoverflow.com/a/67453887/3645650
Creative Commons Zero v1.0 Universal
27 stars 5 forks source link

Fix category breadcrumb display #14

Closed nikolailehbrink closed 1 year ago

nikolailehbrink commented 1 year ago

Fixes #13

amarinediary commented 1 year ago

First of all thank you for the merge, I'm swamped with work so I can't really spend time on this. Before I accept the change, would you please explain to me what was the issue and how does this merge is fixing it ?

nikolailehbrink commented 1 year ago

Hi @amarinediary as I mentioned in the corresponding issue, I would love to see the actual category names and not just the slug with removed hyphens. I mentioned my problem with the post category "Expert: innen-Beiträge" which in your version never was outputted correctly. So I fixed that and now if the current term is a category the actual name is shown. I tried also to document the code with comments. Kind regards.

amarinediary commented 1 year ago

Merge complete. Fallback behaviour will now be less restrictive. It will display the slug with hyphens. Thank you !