Hi, I've added this code inside a Content template assigned to a CPT:
<h1>[wpv-post-title]</h1>
<div>
[types field='field1'][/types]<br>
[types field='field2'][/types]<br>
</div>
[wpv-conditional if="( '[wpv-current-user info='logged_in']' eq 'false' )"]
[wpv-login-form redirect_url="[wpv-post-url]" allow_remember="true" remember_default="true"]
[/wpv-conditional]
[wpv-conditional if="( '[wpv-current-user info='role']' eq 'administrator' )"]
<div>
[types field='field3'][/types]<br>
[types field='field4'][/types]<br>
</div>
[/wpv-conditional]
When I display a post on the frontend the shortcodes insided wpv-conditional are not rendered (the other are rendered correctly).
If I move the same code to a Page content it works fine.
I'm working with Astra Theme, but I've the same problem with the default theme. I've also deactivated all the plugins and I din't find any conflict.
Can you help me?
This works great on my local test, It must be either a conflict or a custom code issue or a server issue, because I used the exact same code on my local and it worked great.
I am certain you can confirm this as well in any other Site running Toolset?
It should be some specific issue, maybe a too great content allover displaying?
See https://toolset.com/errata/shortcodes-in-conditionally-displayed-content-may-not-be-executed-on-the-front-end/
If this does not help I'll need a copy of named site if possible to deploy locally.
My issue is resolved now.
I didn't know about the characters limitation, it was the problem.
Thank you Beda!