Currently I am working on a rating plugin. You can see the code I got so far below:
<?php if (function_exists('get_highest_rated')): ?> <ul> <?php get_highest_rated_tag(12, 'both', 0, 10); ?> </ul> <?php endif; ?>
But now it comes to a bit of php that I simply can't find on the web so far, so I will ask you.
At this code, you see the number 12, that is the tag id. But I can't put in the tag name.
So I was thinking of echo'ing the tagid for a certain tagname. Is this possible? This way I can get like $tagid of that certain tagname and insert it into the code above.