I am trying to create a conditional that matches the Current logged in user ID with the post author ID, to create a post edit button. This conditional works with other post types, but does not seem to work with a specific CPT created by Toolset.
I have tried to use a block, and this short-code:
[wpv-conditional if=" ( ( '[wpv-current-user info="id"]' = '[wpv-post-author format="meta" meta="ID" ]' ) ) " debug="true"]you are the post author[/wpv-conditional]
The code above does not generate a debug information, but when I try to compare static values like '1 = 1', the debug does work.
I have tried deactivating multiple plug-ins but that has not created the desired conditional nor debug info.
My issue is resolved now. The problem lies in the additional header I added, which has a few conditionals, once I remove it all debug works...
Thank you for helping me resolve it.