Not a developer? Go to MovableType.com

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 http://www.virginislandsthisweek.com/st-thomas/attractions/virgin-islands-ecotours.html, 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:

Back

Give an Answer

Ask An Expert