Hi,
I have a CPT called "Persons". I display information regarding persons in a table format.
Due to the variation of available information between different persons, I use conditionals.
So if the Date of birth is available, I show a table row with the date of birth..etc
I wanted to add a new row for external links talking about this person. But the number of external websites differ, So I thought of using a repeatable fields group.
I created the group and created a view to show the it, as per the documentation.
I wanted to use conditionals to say: if the repeatable field group of this post is not empty, display the view, but there were no conditionals to do so.
I tried to create the conditional, based on the same logic as the other fields, but it did not display anything.
[wpv-conditional if="( $(wpcf-person-external-url) ne '' )"]
[wpv-view name="person-external-links-repeatable-view"]
[/wpv-conditional]
Is there a proper way to achieve what I want?
thanks in advance.
My issue is resolved now. Thank you!