Dynamic data (taxonomy title) rendered as link against my will

Hey folks!

So, I’m really stumped. On https://hnr2023.2sinn.it/ (I know SSL doesn’t work), I was able to make a secondary menu that shows posts from the same taxonomy (“Region”, made with Pods) using a query loop.

This nav bar appears only when one visits a region, e.g., https://hnr2023.2sinn.it/nordhessen/mobiler-notruf/. Bricks conditions FTW.

I slapped a little badge to the left of that menu that I want to name the current Region. But for some reason, Bricks automatically turns this into a link, even though it’s just dynamic data ({post_terms_region}) in a Basic Text element!

Any way to simply display the name of the current region without it being a link?

image

Using 1.8 beta.

  • :plain – Removes HTML tags using wp_strip_all_tags, which can be helpful when you need to extract plain text from a dynamic tag result. For example, you may want to remove links from a post term dynamic tag. (@since 1.7.2)
3 Likes

Ha! Nice! Thanks, that did it.

2 Likes