• Resolved arnavwp

    (@arnavwp)


    Hello,

    I am trying to add the poll I have created inside “FAQ section” block. My end goal is to create an accordion with multiple polls. I tried using the shortcode directly inside the FAQ description, but it didn’t work. I am not a programmer, but I tried to look for a solution in the support threads here and online. Based on the results online, I tried this code inside the FAQ description.

    <div id="best-picture">
    <?php echo do_shortcode('[yop_poll id="1"]'); ?>
    </div>

    But this doesn’t work either.

    Could you please tell me how to use the shortcode within another block/ HTML element?

    Thanks a lot!

    Regards,

    Arnav

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hey Arnav

    Can you give us more details on the block you are using?
    Are you referring to a block in Gutenberg editor?

    Thread Starter arnavwp

    (@arnavwp)

    Hello,

    Thank you for your response!
    It is a Gutenberg block available in my theme Vodi by Madras Themes. It’s called FAQ Section.

    Here is the screenshot of the block settings.

    Looking forward to hearing from you.

    Plugin Author YOP

    (@yourownprogrammer)

    we would need to run tests with that specific block to be able to assist.

    do you have a staging site where we can run some tests?

    Plugin Author YOP

    (@yourownprogrammer)

    @arnavwp were you able to get it to work?

    Thread Starter arnavwp

    (@arnavwp)

    Hello,
    Sorry for not responding earlier. I was away during Holidays.
    Unfortunately I don’t have a staging site, neither was I able to get it to work.
    Not sure how to proceed in this case.

    Plugin Author YOP

    (@yourownprogrammer)

    Hello

    Please contact us on our website so we can find a solution.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Shortcode not working inside FAQ section’ is closed to new replies.