Problem:
Can we somehow check if a post has a (one) related post, and display or hide content based on whether the post has or has no related post?
Solution:
Yes, you can take 2 approaches:
With Blocks or with ShortCodes.
Further details here:
https://toolset.com/forums/topic/how-to-check-if-a-post-is-in-a-specific-relationship/#post-1606811
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 |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 4 Antworten, has 2 Stimmen.
Last updated by alexG-4 vor 3 Jahre, 11 Monate.
Assisted by: Beda.