WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] Add another input (5 posts)

  1. setransycons
    Member
    Posted 6 months ago #

    Hy,
    i'm trying to make a photo-gallery and i need another input for each photo description in order to show it. Could you help me?

    Thanks,
    Sergiu

    http://wordpress.org/plugins/yop-poll/

  2. YOP
    Member
    Plugin Author

    Posted 6 months ago #

    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

  3. setransycons
    Member
    Posted 6 months ago #

    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

  4. YOP
    Member
    Plugin Author

    Posted 6 months ago #

    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

  5. setransycons
    Member
    Posted 6 months ago #

    Works perfectly!

    Thank you!

Reply

You must log in to post.

About this Plugin

About this Topic