Help with converting code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mike11mac11
Forum Newbie
Posts: 1
Joined: Wed Mar 05, 2014 1:50 am

Help with converting code

Post 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'
	});
});
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Help with converting code

Post by Celauran »

Nowhere near enough information here for us to answer that. What is rating()? What isn't working?
jangmi
Forum Newbie
Posts: 11
Joined: Sat Mar 08, 2014 7:39 am

Re: Help with converting code

Post 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'
        });
});
Post Reply