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 website visitor to all menu items tagged with that location.
You can add this quick CSS style to the
mylocation class, positioning the name over top of your menu item’s featured image.
Required: Dispensary Locations add-on