Polldaddy Polls & Ratings
PollDaddy 2.0.9 and onswipe (3 posts)

  1. robmoffat
    Posted 4 years ago #


    Polldaddy isn't working for me when I use onswipe. Problem is, onswipe downloads the content of each post in a json call to the server. Because of this, all the calls to add javascript which occur in the add_footer filter don't get called.

    Specifically, line 620:

    add_filter( 'wp_footer', array( &$pd_poll_shortcodes, 'polldaddy_add_poll_js' ) );

    I am going to go back to using PD 2.0.4, as this doesn't seem to exhibit the same issue, but it would be great to get it fixed.


  2. robmoffat
    Posted 4 years ago #

    Anyone from Polldaddy have any thoughts about this?

  3. Eoin Gallagher
    Plugin Author

    Posted 4 years ago #

    Hi, I have just updated the plugin which should allow you to fix this problem. Basically the onswipe theme parses the posts content and in doing so, the plugin loads the poll javascript in the footer (expecting the post content to be shown). The is now an extra option in the Polls & Ratings settings called Load Shortcodes Inline which when enabled will just load the poll javascript inline, rather than in the footer. This should fix your problem but please get back to me if it does not.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polldaddy Polls & Ratings
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic