WordPress.org

Forums

WP-Polls
[resolved] Filter "poll_template_votefooter_markup" (3 posts)

  1. Diogo15
    Member
    Posted 1 year ago #

    Hi Lester,

    I was wondering, do you think there is way to create a condition in poll_template_votefooter_markup filter, to change the template output if the poll is being viewed from the sidebar or the post content?

    Thanks, Luis.

    https://wordpress.org/plugins/wp-polls/

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    Right now template doesn't support conditional, the only way is 2 different poll_template_votefooter fields, 1 for sidebar and 1 from post content. Unfortunately you are on your own if you want to do that, I don't provide support for plugin modifications.

  3. Diogo15
    Member
    Posted 1 year ago #

    Thanks for you quick response, i'll try it!
    :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic