scott74
Expert
Just Getting Started
Member Likes (0)
I installed the post voting plugin and when I hit the thumbs up, it just keeps spinning.. have to hard refresh the page to show the vote..
Also is there a way to show a leader board on my home page of which post have the most votes... I set this up so people can upload photos of there yard then have other vote on it for yard of the month...
1 other thing, is there a page that I am missing that shows which post has the most votes?
I also noticed that the voting only shows on the main blog page and not the category... I would like the voting to show on the category so it would be easier to send friends back to vote by giving them the category link for instance April yard of the month category but the voting does not show on the post once you click on the category the post belongs to.??
Thanks Scott

Responses (5)
WPMU DEV Fanatic (joined October 2009) Likes (0)
Hi Scott,
Not sure what's happening with the voting there, sounds like a javascript conflict perhaps. Are you using the very latest version 2.1.6 of the plugin? Also, are you on the latest version of WordPress?
Could you try checking for a theme or plugin conflict if so?
There's not a page specifically that has the popular posts, but the Top voted Posts widget (also the Top voted Posts on Network) widgets let you display those.
As for displaying the voting options elsewhere, including in your category listings, the plugin provides some template functions like wdpv_vote(), which you can include in your theme's category template, likely category.php.
-David
Member (joined September 2011) Likes (0)
Hey Dave, yes I have th latest of both... I figured out how to use the short code to show the top 10 votes of post anywhere...
I am using the Karma theme https://greenprintlawns.com/category/yard-of-the-month/
Not sure where the categorie template is or where to add that code you gave me.... does it have to be before or after something?
Member (joined September 2011) Likes (0)
Hey dave , i added the
wdpv_voteto the archive template but voting still does not show on the category page... Is there some brackets or somehwere specific I have to add that?Update... got it
<?php wdpv_vote(); ?>but its showing way bottom left... need to find where to put it so right above post or is there extra code to define that? I need this voting button to show on each post that will be in the same category...Can you help me accomplish this? here is the archive page coding
http://pastebin.com/9zmjtBP0
One other thing... How do you clear votes??
Thanks Scott
Member (joined September 2011) Likes (0)
Update... Got this working Dave... got ahold of theme dev... . said the archive page has no loop so added that in the blog page which made it also show in the archive/ categorie page..
I would also only like this to show on a specific category because I will be showing the leading vote getters on another page and dont want post that are not relevant that get votes showing up..
Is there a way to make the voting category specific ..? would be geat if there were check boxes in plugin settings to select the categories that you wanted the voting to show up in...
And also still need to figure out how to erase votes as I am doing testing and delted post but they are still showing up a leaders for votes?
WPMU DEV Fanatic (joined October 2009) Likes (0)
Hi scott74,
I'm afraid the only way to erase votes is to go into the database to make that adjustment. We can take a look at that and your other category specific voting request (great ideas for the plugin, I think), through a suggestion thread if you'd like to go ahead and post that.
Other than that though, category specific voting can be achieved by creating a category-ID.php or category-SLUG.php file for those specific categories, as detailed at the codex:
http://codex.wordpress.org/Template_Hierarchy
-David
Become a member