• Resolved konostag

    (@konostag)


    Hi

    I have this piece of code inside the Accordion Description and it does not read the “get_field(‘delivery’)” to the Accordion Description. I’ve read the Accordion Descrition does allow for HTML, is there a way to make this work?

    CODE INSIDE ACCORDION DESCRIPTION:
    <html>
    <body>
    <?php
    if(get_field(‘delivery’))
    {
    echo get_field(‘delivery’);
    }
    ?>
    </body>
    </html>

    https://www.ads-software.com/plugins/accordion-shortcode-and-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpshopmart

    (@wpshopmart)

    Hi,

    Accordion description field is only able to read html code. You can not able to use php code inside accordion description.

    Please use only html.

    Sorry but now there no option is available for read out “get_field(‘delivery’)” code inside description.

    Thanks

    Thread Starter konostag

    (@konostag)

    Thank you for your quick reply, appreciate it

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP inside HTML inside Accordion Description not working’ is closed to new replies.