I am trying to:
Use this code as a 'code' container in Fusion Builder for Content Template creation:
<ul class="shop-single-footer-list">
[wpv-conditional if="( $(wpcf-mein-grundeinkommen) eq '1' )"]
<span>Mein Grundeinkommenhidden link">Mehr Informationen </span>
<span>[types field='mein-grundeinkommen' state='checked']Dieser Shop unterstützt das Projekt[/types][types field='mein-grundeinkommen' state='unchecked'][/types]</span>
[/wpv-conditional]
[wpv-conditional if="( $(wpcf-newsletter-rabatt) ne '' )"]
<span>Newsletter Rabatt / Aktion hidden link">Mehr Informationen</span>
<span>[types field='newsletter-rabatt' separator=' ● '][/types]</span>
[/wpv-conditional]
<span>Sprache(n) der Seite</span><span>[wpv-post-taxonomy type='language' format='name' separator=' ● ']</span>
<span>Herkunft des Shop</span><span>[wpv-post-taxonomy type='origin' format='name' separator=' | ']</span>
[wpv-conditional if="( $(wpcf-also-available-at) ne '' )"]
<li class="reseller"><span>Auch erhältlich bei</span><span>[types field='also-available-at' no_protocol='true' target='_blank' separator=' ● '][/types]</span>
[/wpv-conditional]
Link to a page where the issue can be seen:
hidden link - But I removed all the 'conditional' parts from the code. We´re launching tomorrow.
I expected to see:
A 'clean' list of informations.
Instead, I got:
The list shows all the 'conditional' parts as raw code. Seems the Avada Code Container don´t like it!?
Is there another way?
Hi, try a Text block instead of a Code block. Use the "Text" tab, not the "Visual" tab, to insert your code in the Text block. Conditionals should be supported in this manner. The Code block isn't ideal for inserting Views shortcodes. Let me know the results.