Yelp It free WordPress plugin
Description
Yelp It free WordPress plugin
Important Note
You get 100 views by default. To increase your call limit, contact Yelp and ask for a higher limit using the handy textbox where you manage your Yelp API key. See ‘Installation’ for more details. I do not control this, Yelp does.
So you’re talking about some cafe or restaurant and you wish you could display a small box that contains a fresh Yelp rating for it. Well now you can. This plugin installs a shortcode. By default, you can set the term and location and it will spit out the first business result from that search. Or, you can set the limit to higher than 1 and it will spit out more. Or, you can set the id to and enter the Yelp id for a business to only get that business (see Business method under Parameters below).
Parameters
All parameters are optional. There are two methods, Business and Search. Use Business if you know the ID of the business you want to show. See below for more details.
align accepts left, right, center, or nothing. If you don’t define align, it will just be a block element. You can configure all this stuff in the CSS or your own CSS.
Business method
id (required) is the ID of the business. It is the last part of the Yelp URL of its Yelp page. Ex: http://www.yelp.com/biz/the-waterboy-sacramento, the id is the-waterboy-sacramento. This is the only parameter you need to set to use this method.
Search method
term is the search term that you would use if you were just entering it in a Yelp search. Default is “Four Barrel”, but might change.
location (required) is the location part of the search, exactly like when you use Yelp at yelp.com. Default is “San Francisco”, but might change.
limit is the number of businesses that Yelp will return. Default is 1.
sort is the Yelp sorting method, 0 (default) is Best Match, 1 is Distance, and 2 is Highest Rated.