Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Custom Filds + html

  • #8590
    Avatar photo[anonymous]

    I added a Custom Filds – textarea.
    Inserting html/js code into it

    The output is

    <div class="faq" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">

    Can I get code in the output?

    #8591
    Avatar photo[anonymous]

    Hi,

    Did you tried to wrap the custom field value into triple brackets instead of double brackets:

    {{{ variable }}}

    instead of:

    {{ variable }}

    In your theme?

    #8593
    Avatar photo[anonymous]
    Tomasz Dziuda wrote:

    Hi,

    Did you tried to wrap the custom field value into triple brackets instead of double brackets:

    {{{ variable }}}

    instead of:

    {{ variable }}

    In your theme?

    No 🙁

    I use

    {{#if @config.post.displayBreadcrumb}}
    {{@config.post.displayBreadcrumb}}
    {{/if}}

    Only {{

    #8594
    Avatar photo[anonymous]

    Thanks!

    {{

    =

    <div<

    {{{

    =