WAIT: Disable link or using :plain

Hello,

The Taxonomy element is great for showing categories/tags, etc. and shows the correct HTML structure but, as soon as I click disable links, it removes the ul > li structure and wraps them in a div, even though its still a list.

The same thing happens when setting up your own ul > li structure. If I use :plain it just wraps all the data in a div, instead of just wrapping each item in a span tag.

Can this be fixed?

Thanks,
Mike

Upon checking the Taxonomy element isn’t correct from the get-go.

Hi Mike,
Thanks so much for your report!

Taxonomy element
Unfortunately, I cannot reproduce the issue you’re describing. The disable link toggle makes no difference at all on my end :thinking:

{post_terms_category}
The div is the tag of the wrapping element. The items within are either an a (if linked), or just text(:plain). There is no filter to add a custom wrapper to the items, which would be a feature request. Alternatively, you can, of course, also use a custom function and build the markup the way you want.

Best regards,
timmse