Descrición
THIS PLUGIN NO LONGER WORKS
Leafly removed their public API so this plugin does not currently work. If/when they decide to get their act together and get the API back in action, I’ll update this plugin.
Until then, make sure you check out WP Dispensary, the complete marijuana menu solution for WordPress.
Original Details
Easily display your dispensary reviews from Leafly on your own site with a widget or shortcode.
This plugin utilizes the Leafly API to pull your dispensaries reviews from the Leafly website and saves them in a cache file to display on your own website through the use of a shortcode, which is placed on a page or post, or a widget which is placed in your sidebar.
You can get your own Leafly API app ID and KEY from the Leafly Developer website.
Widget Option
You can drag and drop the Leafly Reviews widget to any widgetized area on your website, through the Appearance > Widgets
section of the admin dashboard. There are options you can fill out to choose what is actually displayed in the widget.
Shortcode Option
Here is the basic shortcode:
[leaflyreviews slug="denver-relief"]
You will need to add in your slug, just like the widget options. The shortcode will default to showing 5 reviews, and all of the options given in the widget (avatar, star rating, detailed rating, recommendation, shop again and comments.
If you’d like to remove some of these options from showing, you can add the option to the shortcode with the value of no, like this:
[leaflyreviews slug="denver-relief" limit="5" avatar="no" stars="no" ratings="no" recommend="no" shopagain="no" comments="no"]
Capturas
Instalación
- Upload the
leafly-reviews
folder to the/wp-content/plugins/
directory or add it directly through your WordPress admin dashboard - Activate the plugin through the
Plugins
menu in WordPress - Go to
Settings > Leafly Reviews
and add in your Leafly API ID and KEY (required in order for the plugin to work) - Add the Leafly Reviews widget through the
Appearance > Widgets
area of your dashboard, or use the shortcode to display your reviews on any page or post
Comentarios
Non hai recensións para este plugin.
Colaboradores e desenvolvedores
“Leafly Reviews for WordPress” é un software de código aberto. As seguintes persoas colaboraron con este plugin.
ColaboradoresTraduce “Leafly Reviews for WordPress” ao teu idioma.
Interesado no desenvolvemento?
Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.
Rexistro de cambios
1.0.1
- Added option to show a link to view all reviews in your Leafly profile