Support » Plugin: Yelp Widget Pro » Shortcodes from Premium version

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Devin Walker

    (@dlocc)

    Hi willowcreekcommunity – thanks for purchasing the Premium version. Right now I’m currently working on documenting the plugin’s shortcodes. Sorry that’s not very apparent right now. I expect to have that done within a few days. Until then, here’s some information to get you started:

    To use Yelp Widget Pro’s Business API (to show one specific business) shortcode you can add:

    [yelp-widget-pro id="sushi-ota-san-diego"]

    To show a number of listings by search term using Yelp’s Search API:

    [yelp-widget-pro term="Sushi" location="Seattle"]

    There are also a number of arguments to customize the output further:

    'location' => 'San Diego',
    'limit' => '4',
    'address' => 0,
    'map' => 0,
    'reviews' => 0,
    'avatar' => 'small',
    'target' => 1,
    'align' => 'right',
    'width' => '250px'

    Above is showing the default values. To customize you would modify your shortcode to overwrite the default value. For instance, if I wanted to show Yelp reviews under my business listing I would modify my shortcode like so:

    [yelp-widget-pro id="sushi-ota-san-diego" reviews="true"]

    If I wanted to add a Google map:

    [yelp-widget-pro id="sushi-ota-san-diego" map="true"]

    I hope this helps! I’ll be writing more information as well as coming out with some cool new updates soon!

    I am trying to use the short code instructions in this thread with the premium version. I have added the argument ‘address= “true”‘ to display the address of the listings. The same address of the first listing is displaying on all of the listings in the search.

    Is there a solution for this?

    Thanks,

    Plugin Author Devin Walker

    (@dlocc)

    @gilberj – you may have found a bug. I will investigate this immediately and release a fix if so. Thanks for posting!

    Plugin Author Devin Walker

    (@dlocc)

    @gilberj – I just released an update to the Premium plugin to fix the repeating address issue.

    Plugin Author Devin Walker

    (@dlocc)

    Hey guys, I just posted the following documentation on how to use Yelp Widget Pro shortcodes: http://wordimpress.com/yelp-widget-pro-shortcodes/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcodes from Premium version’ is closed to new replies.