Polls style and archive
-
Hello,
today I was adding WP-Polls to my website but I’m facing two problems…
The first and most important is that I can’t understand how to edit the polls code.
For example:
Now I’m using this code to add the latest poll to my homepage<?php if ( function_exists( 'vote_poll' ) && ! in_pollarchive() ): ?> <?php get_poll();?> <?php display_polls_archive_link(); ?> <?php endif; ?>And outputs an html block with all the polls things, but If I want to change the title and use a <span> instead of a <p> where I can find the code to do that?
If instead of this
<p style="text-align: center;"><strong>How Is My Site?</strong></p>
I want this
<span class="poll-title">How Is My Site?</span>
How I can do that?The second thing that I see and I’d like to change is that polls on the archive can’t be voted, but I’d like that people can vote also old poll in the archive.
There is a way to change this or a code that outputs all the polls like the one that outputs the latest poll on the homepage?I know that this message is a bit confusing, sorry for that, but I hope that someone can help me to solve those problems!
Thanks.
The topic ‘Polls style and archive’ is closed to new replies.