Home › Toolset Professional Support › [Resolved] How to display wpv-conditional with multiple apostrophes?
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Tagged: Views plugin
This topic contains 2 replies, has 2 voices.
Last updated by Peter 1 year, 7 months ago.
Assigned support staff: Shane.
Tell us what you are trying to do?
I want to set a condition:
[wpv-conditional if="( '[wpv-post-taxonomy type="category" format="slug"]' ne '' )"]
The condition is a little bit complex, so I have to use multiple apostrophes in it. It is breaking the code, so the front-end is also broken. How can I display this shortcode without syntax errors?
Is there any documentation that you are following?
Yes, I have read every documentation about it, but didn't find any solution.
What is the link to your site?
The header of the articles is broken, because of the wrong syntax in the condition.
English (English )
Thank you for getting in touch.
In a case like this you would add it like below.
[wpv-conditional if="( '[wpv-post-taxonomy type='category' format='slug']' ne '' )"]
Please try this and let me know if it helps.
My issue is resolved now. Thank you!
Known issues and solutions
Frequently asked support questions
Support tickets archive
Get help from experienced contractors
Meet Toolset support team
Toolset Customer Support Policy
Need to tell us something about the quality of support
How to remove personal information from your database for support