Page 1 of 1

Help with converting code

Posted: Wed Mar 05, 2014 1:56 am
by mike11mac11
I'm looking to add this code into my wordpress site. How would i go about making this work?

Code: Select all

$(document).ready(function(){
	$(".stars").rating({
		php	: 'path/to/manager.php',
		skin	: 'skins/skin.png'
	});
});

Re: Help with converting code

Posted: Wed Mar 05, 2014 8:40 am
by Celauran
Nowhere near enough information here for us to answer that. What is rating()? What isn't working?

Re: Help with converting code

Posted: Sat Mar 08, 2014 8:00 am
by jangmi
You can try with this code:

Code: Select all

jQuery(document).ready(function(){
        jQuery(".stars").rating({
                php     : 'path/to/manager.php',
                skin    : 'skins/skin.png'
        });
});