Dispensary Gear


This plugin adds a Gear menu type to the WP Dispensary menu plugin.

Release Notes

You can read full details in our blog post.


When using the Dispensary Gear plugin, WP Dispensary version 1.9.18+ needs to be installed and activated in order make display the Gear menu type’s pricing and details on individual item pages.


You can display your Dispensary Gear by adding the following shortcode:


Full list of options:

[wpd-gear title="" posts="100" info="show" image="show" imgsize="dispensary-image" class="" viewall=""]

You can also display your Gear items by using the Dispensary Gear widget that this plugin adds.


Want to help this plugin get better? Head over to Github and open an issue or submit a pull request.


  1. In your WordPress admin dashboard, go to Plugins -> Add New and search for Dispensary Gear
  2. Activate the plugin and enjoy!

Contributors & Developers

“Dispensary Gear” is open source software. The following people have contributed to this plugin.


Translate “Dispensary Gear” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Added 2 helper functions get_wpd_gear_prices_simple and wpd_gear_prices_simple in admin/wpd-gear-functions.php
  • Added 2 action hooks wpd_gear_widget_inside_loop_before and wpd_gear_widget_inside_loop_before in admin/class-wpd-gear-widgets.php
  • Updated shortcode to use the new prices helper functions in admin/class-wpd-gear-shortcode.php
  • Updated text for admin post_updated_messages in admin/class-wpd-gear-post-type.php


  • Updated Gear display text to change based on custom permalink base in admin/class-wpd-gear-post-type.php
  • Updated Gear display text to change based on custom permalink base in admin/class-wpd-gear-shortcodes.php
  • Updated Gear display text to change based on custom permalink base in admin/class-wpd-gear-widgets.php
  • Updated translatable text to work with variable in admin/class-wpd-gear-post-type.php
  • Updated translatable text to work with variable in admin/class-wpd-gear-post-type.php
  • Updated shortcode to use the wpd_currency_code function in admin/class-wpd-gear-shortcodes.php
  • Updated Price/Donation display option updates in admin/class-wpd-gear-shortcodes.php
  • Updated various text strings to be translatable in admin/class-wpd-gear-data-output.php
  • Updated various text strings to be translatable in admin/class-wpd-gear-metaboxes.php
  • Updated various text strings to be translatable in admin/class-wpd-gear-shortcodes.php
  • Updated .pot file with new text strings for localization in languages/wpd-gear.pot


  • Added .pot file for localization in languages/wpd-gear.pot
  • Added permalink settings option for gear base in admin/class-wpd-gear-post-type.php
  • Updated permalink base codes for gear custom post type in admin/class-wpd-gear-post-type.php


  • Add admin screen thumbnails to Gear menu type in admin/class-wpd-gear-post-type.php
  • Add categories endpoint to the REST API in admin/class-wpd-gear-rest-api.php
  • Remove wpd_gear_category REST API endpoint in admin/class-wpd-gear-post-type.php
  • Update Gear category wording in admin/class-wpd-gear-taxonomies.php
  • Update gear_category endpoint name in admin/class-wpd-gear-rest-api.php


  • Added custom widths to the Prices metabox input fields in admin/class-wpd-gear-metaboxes.php
  • Added filter for the new table placement in WP Dispensary v2.0+ in admin/class-wpd-gear-data-output.php
  • Updated admin submenu order number in admin/wpd-gear-post-type.php


  • Added viewall shortcode option (req: WPD 1.9.18+) in admin/class-wpd-gear-shortcodes.php
  • Added vendor taxonomy filter and display in admin/class-wpd-gear-data-output.php
  • Added check to hide vendors and categories if empty in admin/class-wpd-gear-data-output.php
  • Added wpd_gear shortcode name for attribute filter in admin/class-wpd-gear-shortcodes.php
  • Fixed display bug for price outputs in admin/class-wpd-gear-shortcodes.php
  • Fixed depreciated string value in get_bloginfo function in admin/class-wpd-gear-shortcodes.php
  • Fixed nonce error for gearpricesmeta_noncename in admin/class-wpd-gear-metaboxes.php
  • Fixed WP_DEBUG notice by adding a default value for $rewrite variable in admin/class-wpd-gear-post-type.php
  • Fixed WP_DEBUG notice by adding global $post to Gear vendors and categories in admin/class-wpd-gear-data-output.php
  • Updated admin menu order for Gear in admin/class-wpd-gear-post-type.php
  • Updated categories table code for display in admin/class-wpd-gear-data-output.php
  • Updated default widget title from Recent Gear to Dispensary Gear in admin/class-wpd-gear-widgets.php


  • Added in additional action hook in admin/class-wpd-gear-shortcodes.php
  • Added new shortcode options in admin/class-wpd-gear-shortcodes.php
  • Fixed term name for gear categories in admin/class-wpd-gear-data-output.php
  • Fixed term name for gear categories in admin/class-wpd-gear-widgets.php
  • Updated image display to include default images in admin/class-wpd-gear-shortcodes.php


  • Initial release