• Resolved basvcds

    (@basvcds)


    Hello,

    I need to set-up a poll, with answers that contain html code. Before installing i read that this should be possible since 4.9, but i can not get it to work. I’ve looked through all settings, but can not find any option that allows me to use html within an answer-option. Could you please give me some pointers on how this can be done?

    https://ww.wp.xz.cn/plugins/yop-poll/

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

    (@yourownprogrammer)

    Hi basvcds,

    You can use a, img and br.
    If you need more tags, edit inc/plugin-functions.php and add them and their corresponding attributes in the functia yop_poll_kses function.

    Best wishes,

    YOP Team

    Thread Starter basvcds

    (@basvcds)

    Hi, thanks for your reply. Would it be possible for me to bypass the yop_poll_kses function? The html i would like to add within each answer is quite extensive. I understand i wouldnt be as save as meant to be, im just curious 🙂

    Plugin Author YOP

    (@yourownprogrammer)

    Hey basvcds,

    You can add return $string at the beginning of yop_poll_kses() fundtion.

    Regards,

    YOP Team

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML usage in answer option’ is closed to new replies.