I want to show a certain information in a conditional logic with the following code:
[wpv-conditional if="( $(wpcf-ist-die-person-klassenlehrkraft) eq 'ja' )" evaluate="true"]Klassenlehrkraft der Klasse: [types field='klassenlehrkraft'][/types][/wpv-conditional]
But It always shows: Klassenlehrkraft der Klasse: [types field='klassenlehrkraft' separator=', '][/types] at the front end page. The conitional logic ist working, but the output of the field is not.
I am using it with Grid Layout Builder in Impreza Theme as an raw html element.
In the "normal" view by toolset the code above works... so there must be an issue with the theme.
Do you have any idea, since Impreza is a quite common theme.
What is the link to your site? hidden link
You say you are inserting it in a raw html element. It is possible that the theme html element doesn't parse shortcodes.
I'm not familiar with the theme, but is there another element like a visual text element (or even a shortcode element?) that you can insert the Toolset shortcodes into to. You are ideally looking to find an element that the theme passes through the_content filter, and I suggest you try the possible options to see if you can find one where it works.
If you can't, let me know and I'll investigate further.