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 […]

Add “View Details” button to shortcode output

The following code will add a View Details button to the bottom of each item displayed via the shortcodes, similar to how the WooConnect add-on adds view details and buy now buttons. View this gist on GitHub