(please see attached image)
I've got a view which I insert on archive pages for categories.
I've added a custom field to my categories. It's a URL field called category-resource-page-url.
I know it works because I can output it just fine outside of the conditional in this same context.
However, when I try to run a conditional to test whether or not its empty, it evaluates as false even though it's true:
Hello. Thank you for contacting the Toolset support.
To check the condition for the taxonomy field, you will have to create a view and set this view to query the taxonomy where you added the taxonomy custom field "category-resource-page-url" and move the condition you have inside this taxonomy view's loop:
So, the steps are:
- create the taxonomy view for your desired taxonomy
- add the conditional shortcode inside this taxonomy view's loop
- add "Query Filter" for the "Taxonomy term":
Taxonomy term filter
Taxonomy term ID is set by the shortcode attribute "terms"
- call this taxonomy view and pass taxonomy ID as view's shortcode attribute where you currently displaying the conditional shortcode.