WordPress.org

Support

Support » Plugins and Hacks » WP-Polls » [Resolved] Problem with poll archive page.

[Resolved] Problem with poll archive page.

  • Hello, thought I’d post this in case anyone else was having this problem.

    I was having trouble with the poll archive page breaking my footer. I’d followed the instructions for creating the page, and the results showed up fine. However, the last set of results ended below the top of the footer and the footer was offset about ten pixels to the right.

    Anyway, I checked out the page code, found it seemed to be missing some end div tags, so I added five of them after the page-poll shortcode… and it was fixed.

    Odd, but I’m glad I finally figured it out.

    http://wordpress.org/extend/plugins/wp-polls/

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thank you for this.

    Did you display the polls achieve on your site for viewers to see?
    I didn’t display it on my site initially after publishing, but when I did later on, it still gives the same result.

    That is, I can’t get the polls to work properly, even after following all the instructions.

    Any idea/s how you got yours to work and display on your site properly?

    Thanks in advance for your response.

    Here’s how I got the archive to work. I wanted to style the results individually, but the archive shortcode was causing all of the results to show inside a single container. So, I used the single results shortcode instead, like this:

    <div id="colPoll3">[poll id='2' type='result']</div></div>

    The number is the individual poll number. Of course this means that I have to add another shortcode to the page for each new poll, but now I can have each set of results styled in its own block.

    Don’t forget to check the div tags and make sure you’ve got enough of them. As you can see, I had to add an extra </div> to the end of each shortcode and I also had to add an extra four at the end of the page.

    Hope that helps.

    Hi Judah75,

    Thanks for this and sorry for the late response, I have been unwell.

    To be honest, I don’t have a clue where to put the code you have suggested. I have not used the Polls since due to it not functioning well.

    I wish the owner could make it more easier for none-tech people like me and respond or update the plugin.

    Thanks anyway for helping out. 🙂

    The code goes on the page you want the results on, just add it in the editor and then style to your heart’s content.

    Plugin Author Lester Chan

    @gamerz

    @wtwp: Can you be more specific than not functioning well?

    Having been developing plugins for more than 10 years, it is very difficult to create something that suits everybody.

    @LesterChan:
    Here is the post I created using the poll but it never worked and I have not used it since.

    Hopefully you can let me know how to use it properly?

    Thanks in advance.

    @judah75: Thanks for your assistance.
    The plugin author has been in touch, hopefully he can provide a more user-friendly advice.

    Plugin Author Lester Chan

    @gamerz

    What is the problem? There is no voting option? What code are you using to embed it into the post? Have you read http://wordpress.org/plugins/wp-polls/installation/?

    The problem is it does not allow voting.
    It says you have voted whenever you try to vote even if you have not done so.
    Why don’t you try to vote and let me know what it is saying?

    Yes, I read the instructions and followed it as well.
    It didnt work for my post

    Plugin Author Lester Chan

    @gamerz

    Yeap, it shows the results. What code did you use to embed the poll into your post?

    This is the code I used previously: [poll id=”2″].

    I have now used <div id=”colPoll3″>[poll id=’2′ type=’result’]</div></div> as specified by judah75, but I’m still getting the same result.

    The result is showing:
    total voters: 1

    I have asked other people to vote as well but they were unable to do so, and the result is still the same as above.

    See the screenshot

    PS. No matter how many div tags I put, as specified by judah75, it still returned 1 div at the end 🙁

    Thanks.

    Plugin Author Lester Chan

    @gamerz

    you should use [poll id="2"] only if you add a type=result means it will always display the result.

    Did you change the call for a footer on your pages from <?php get_footer(); ?> to <?php wp_footer(); include('footer.php'); ?>?

    Thanks for all these suggestions.

    I am not that techie unfortunately.
    All I wanted or want is to add my poll id to my post without having to mess about with the codings anywhere (header or footer).

    I don’t want to be going to my footer or header each time I post a competition. Besides, I don’t touch the code areas at all.

    Can this be simplified for people like me who don’t know anything about coding?
    Basically, can this be like a “wash & go” plugin?

    Thanks in advance.

    Plugin Author Lester Chan

    @gamerz

    A wash and go plugin would probably be a service like polldaddy.com

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Resolved] Problem with poll archive page.’ is closed to new replies.
Skip to toolbar