Locations add-on shortcode

All options: [wpd-locations posts=”100″ id=”” class=”” name=”show” info=”show” thc=”” thca=”” cbd=”” cba=”” cbn=”” cbg=”” totalthc=”” title=”Dispensary Menu” category=”” aroma=”” flavor=”” effect=”” symptom=”” condition=”” vendor=”” shelf_type=”” strain_type=”” weight=”show” orderby=”” meta_key=”” type=”flowers, concentrates, edibles, pre-rolls, topicals, growers” imgsize=”dispensary-image” location=””] Example output:


Creating a menu page using WP Dispensary shortcodes

A default “Menu” page is automatically created in WP Dispensary v2.0+ After you’ve added your menu items to WP Dispensary, you can create a new Menu page that lets patients view all of your products. In your WordPress dashboard, head over to Pages -> Add New and title the new page whatever you’d like (Menu, for […]


Add your selected dispensary location(s) to shortcode output

This is a code snippet that utilizes the Dispensary Locations add-on and displays the selected location(s) for each menu item through the included WP Dispensary action hook. If you have multiple dispensaries or only deliver specific menu items to specific cities, you can utilize this code to display the location name that also links your […]


Action hook that displays at the bottom of each individual item’s div container. Example code File location: /wp-dispensary/admin/wp-dispensary-shortcodes.php