How to hard code this into theme?
-
Hello,
I’ve been using this plugin for quite a while, but every since the upgrade to 2.1, things are not working as they should. I have this plugin hard coded into my theme using the call:
<?php if(function_exists(‘kk_star_ratings’)) : echo kk_star_ratings($pid); endif; ?>
Now, for some reason, this isn’t working properly, and when I have the plugin enabled for posts and pages, the ratings are showing up twice. Can you please tell me how I can fix this? For now, you’ll notice that I have the plugin disabled to show up on posts and pages, though it the rating box still does. This is the only way I can find to have the ratings box show up once until there’s a fix. Unfortunately, when I check the post using Google Rich Snippets, it doesn’t recognize the rating system. Thanks for your help.
- The topic ‘How to hard code this into theme?’ is closed to new replies.