I am trying to add a poll rating script to each download. I have successfully added it to my comments and posts but when I try to add it to downloads, it won't work.
Here is the code:
$thumbsupid = "down_".get_downloads(); echo ThumbsUp::item($thumbsupid)->template('mini_poll')->options('up=Download It!&down=Do not Bother');
I need to assign the download id to the thumbsupid but .get_downloads only shows up one set of ratings for all downloads. I need a set of ratings for each download.
I also tried get_downloads_id but that is not a defined function apparently.
P.S: I'm a beginner to php but trying to learn. Could someone please help as I paid a fair amount of money for the script and I can't get it to work.
Thanks in advance