Tell us what you are trying to do?
I need to make this statement work without errors
[wpv-conditional if="( $(wpcf-select-page) ne '' ) AND ( '[wpv-post-slug item="$parent"]' eq $(wpcf-select-page) )"]
[types field='select-page' output='raw'][/types]
[/wpv-conditional]
Hello,
Please elaborate the question with more details:
1) How do you setup the custom field "select-page"? please take a screenshot for it
2) The shortcode [wpv-post-slug item="$parent"] works only for hierarchical post type, have you tried output it directly?
Dose it output correct values?
See our document:
https://toolset.com/documentation/user-guides/views-shortcodes/item-attribute/
$parent is used to retrieve data from a hierarchical parent if the current post is a type of hierarchical post such as a page.
3) You can also debug the [wpv-conditional] shortcode by adding attribute debug="true", for example:
[wpv-conditional ... debug="true"]
...
[/wpv-conditional]
More help:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/debugging/
Using the debug mode