Tell us what you are trying to do?
I'm sure there's an easy way to do this but I didn't have luck searching. I display the wordpress tags/categories on my custom post type.
I would simply want to wrap each in a statement that if the WordPress Tags/Categories are != blank, it will display, and if not it will be hidden from being output.
For other fields like the Featured Image I can do
```
[wpv-conditional if="( '[wpv-post-featured-image output="url"]' ne '' )"]
```
But the Conditional thing only lets me choose "includes the term" or "doesn't include the term" and some of the categories for example have spaces so I believe it would fire incorrectly.
Is there a standard "if blank" that could be used for categories and tags?
Is there any documentation that you are following?
None that I could find
Is there a similar example that we can see?
When using the View editor and clicking "Conditional Output" you can choose != for any other fields
Taking a look at your query its not so clear to me what you are trying to achieve. "I would simply want to wrap each in a statement that if the WordPress Tags/Categories are != blank, it will display, and if not it will be hidden from being output."
Is it that you want to check if a post has taxonomies attached to it ? if so please let me know and we can go from there.
That is correct. If there are tags on the post it should output the HTML paragraph and list of tags, but if there are no tags, nothing should be displayed.
Add this to your toolset custom code in Toolset -> Settings -> Custom Code and ensure its activated.
So what this shortcode does is to check your post to see if it has any terms from a taxonomy assigned and if it does it returns 0 or 1 based on if there are terms or not.
An example of the shortcode format is [wp_check_for_terms post_id='[wpv-post-id]' taxonomy='post_tag']. This will check if there are any tags assigned to the post.
NB: In order for this custom shortcode to work in our conditional you must add the shortcode name to our Toolset 3rd party shortcode arguments in Toolset -> Settings -> Frontend.