Yelp Widget Pro
[resolved] Shortcodes from Premium version (6 posts)

  1. willowcreekcommunity
    Posted 3 years ago #

    Hello - I tried out the Basic free version and realized I really need the Shortcodes in order to get the business listings to appear as I want them to on my site. I upgraded to Premium, however, I can't seem to find the documentation of the Shortcode usage. Can you direct me?



  2. Devin Walker
    Plugin Author

    Posted 3 years ago #

    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!

  3. gilberj
    Posted 3 years ago #

    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?


  4. Devin Walker
    Plugin Author

    Posted 3 years ago #

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

  5. Devin Walker
    Plugin Author

    Posted 3 years ago #

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

  6. Devin Walker
    Plugin Author

    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yelp Widget Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic