I am trying to output markup in a single post template only when the current post has at least on term of a custom taxonomy. The conditional output GUI does not seem to have an option for this. So I have tried the suggested shortcode shared here: https://toolset.com/forums/topic/conditional-to-test-for-taxonomy-results/ as
Where thematic-focus is the slug of the custom taxonomy. The output is below:
```
####################
wpv-conditional attributes
####################
Array
(
[if] => ('has_term('','thematic-focus')' = '1' )
[debug] => true
)
####################
Debug information
####################
--------------------
Original expression: ('has_term('','thematic-focus')' = '1' )
--------------------
After replacing 1 general variables and comparing strings: ('has_term('','thematic-focus')' = 1 )
Comparing ) to 1
```
Is there something I am doing wrong, or is there a better way to do this now?