WordPress.org

Support

Support » Plugins and Hacks » YOP Poll » [Resolved] Add another input

[Resolved] Add another input

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

    @yourownprogrammer

    Hi Sergiu,

    Please give us more details about the input you want to add and tell us exactly what you want it to do so we may assist.

    Regards,

    YOP Team

    I use yop poll plugin in order to make a vote sistem in site. The voting system will allow users to vote photos, i my case. My problem is that: in back-office i have one field called answer(answer1, answer2…etc). That field has one input where i enter the url of a photo. What i need is to create another input for each answer field where i will enter description of that photo in order to show it in front. I hope you understand me.

    Thanks,
    Sergiu

    Plugin Author YOP

    @yourownprogrammer

    Hi Sergiu!

    In order to insert photo description just add your text next to <img> tag in your input and the description will appear next to your image.

    If you want description you entered to appear under the image, edit inc/yop_poll_model.php and replace all occurences of <a><img> with <a><img><br> and save. After that, when you edit poll answers, just add <br> tag between <img> and description.

    Regards,

    YOP Team

    Works perfectly!

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Add another input’ is closed to new replies.
Skip to toolbar