I am facing a problem with the rating plugin

i can’t use the same code in multiple area of the same page

for example :

i have two widgets and every widget is getting topics in different ways, the first widget is to get the most recent topic and the second one is to get the most popular topics

if i use the rating code in the first widget i can’t use it in the second widget ” or it will not working “

here are screen shots showing what i mean :

when i hover the rating in the first widget it’s working fine :

enter image description here

but when i hove it in the second widget it’s not working :

enter image description here

please note that these two ratings are for the same topic

and here is the code i used :

<?php if(function_exists('the_ratings')) { the_ratings(); } ?>

any idea to solve this ?

Read more here: rating plugin not working wordpress


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: