Problem:
Check if parent post exists with Types 3.0
Solution:
You can use [wpv-conditional] shortcode to check if parent exists or not.
For example:
[wpv-conditional if="( '[wpv-post-id item="@relationship-slug.parent"]' ne '' )"] parent exists [/wpv-conditional]
You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/check-if-parent-post-exists/#post-911756
Relevant Documentation:
=> https://toolset.com/documentation/user-guides/conditional-html-output-in-views/
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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 7 Antworten, has 2 Stimmen.
Last updated by PiotrO586 vor 5 Jahre, 10 Monate.
Assisted by: Minesh.