Not a developer? Go to

Ask an Expert

Breadcrumbs and categories

Asked by anthonyf
Posted March 1, 2014.

I have entries that have more than one category - I can’t figure out the coding of my breadcrumbs to show only the category tree that you are actually in, and not duplicate categories - for example I have an entry with this breadcrumb trail:

Virgin Islands This Week / St. Thomas / Attractions / Attractions / Virgin Islands Ecotours

The “Attractions” category for both islands, St. Thomas and St. John - shows up in the trail… since I am in the St. Thomas category here, I would prefer it only show Attractions once in the trail, and that link of course be to the St. Thomas Attractions archive…

This is the code:


Give an Answer

Ask An Expert