Problem:
The issue here is that the customer wanted to check if the current logged in user is the same as the author of the post they are viewing and if they are to display some information.
Solution:
To do this you will need to use the conditional shortcode below.
[wpv-conditional if="('[wpv-current-user info='id']' eq '[wpv-post-author format='meta' meta='id']')"]
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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 14:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Jamaica (GMT-05:00)
This topic contains 4 replies, has 3 voices.
Last updated by 4 years, 8 months ago.
Assisted by: Shane.