Tell us what you are trying to do?
I'm trying to conditionally display a post-reference field if it's not empty. I tried using this but it didn't work
[wpv-conditional if="([wpv-post-url item='@story-link.parent'] ne '')"](read more)[/wpv-conditional]
But if I try to display the URL alone without condition, this DOES work:
[wpv-post-url item="@story-link.parent"]
Is there any documentation that you are following?
Some posts here in the forums
Is there a similar example that we can see?
Not really
What is the link to your site?
hidden link
Hi, it looks like an issue in the syntax of the conditional clause. The wpv-post-url shortcode should be enclosed in quotation marks, and you should probably alternate nested single and double quotation marks like this:
[wpv-conditional if="('[wpv-post-url item="@story-link.parent"]' ne '')"](read more)[/wpv-conditional]
If the problem is not resolved, turn on debugging like this:
[wpv-conditional if="('[wpv-post-url item="@story-link.parent"]' ne '')" debug="true"](read more)[/wpv-conditional]
Then reload the page on the front-end and copy the debug information. Paste that information into your next reply and I'll give you some more feedback.