Skip Navigation

[Resolved] Used code in the Types Layout don´t 'work' in Avada Fusion Builder

This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 6 years, 10 months ago.

Assisted by: Christian Cox.

Author
Posts
#589863

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?

    #589936

    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.

    This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.