Support » Plugin: YOP Poll » In activity always show the last poll and width keeps 200px

  • Resolved yzqiang

    (@yzqiang)


    I add the poll shortcode into a activity. the poll shows perfect. But if I create another poll and add another poll, but the new activity shows the first poll, not the right number poll.
    The problem doesn’t happen in post, only in activity. I think it’s weird because the shortcode function should be same in post and activity.
    In activity, the poll width keeps with 200px in the html code. I think it comes from the sidebar use. The plugin takes the poll as in sidebar, not activity.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • I found the reason. Because when the activity is published, slashes are added. For example, when I add shortcode into activity:
    [yop_poll id=”1″]
    BuddyPress add slash as:
    [yop_poll id=\”1\”]
    That’s the reason why the shortcode error happens.

    Plugin Author YOP

    (@yourownprogrammer)

    Hi yzqiang,

    When you add shortcode you could use [yop_poll id=1] instead of
    [yop_poll id=”1″]

    Regards,

    YOP Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘In activity always show the last poll and width keeps 200px’ is closed to new replies.