Dispensary Gear
This plugin adds a Gear menu type to the WP Dispensary menu plugin.
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 2105 days ago
Is Dispensary Gear abandoned?
Possibly abandoned (last update 2105 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
This plugin adds a Gear menu type to the WP Dispensary menu plugin.
Release Notes
You can read full details in our blog post.
Requirements
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.
Shortcode
You can display your Dispensary Gear by adding the following shortcode:
[wpd-gear]
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.
Contribute
Want to help this plugin get better? Head over to Github and open an issue or submit a pull request.
Installation
- In your WordPress admin dashboard, go to
Plugins->Add Newand search for Dispensary Gear - Activate the plugin and enjoy!
Frequently Asked Questions
Review feed
Screenshots
Changelog
2.0.4
- Bugfix added missing arg to
get_wpd_product_detailsREST API details inadmin/class-wpd-gear-rest-api.php - Updated image sizes to use WPD built-in helper function in
admin/class-wpd-gear-widgets.php - Updated
.potfile with text strings for localization inlanguages/wpd-gear.pot - General code cleanup throughout multiple files
2.0.3
- Added minified version of admin CSS in
admin/css/wpd-gear-admin.min.css - Updated admin widget color styles to remove green bg color in
admin/css/wpd-gear-admin.css - Updated admin widget title in
admin/class-wpd-gear-widgets.php - Updated
$wpd_gear_slug_capin the widget description inadmin/class-wpd-gear-widgets.php - Updated
.potfile with text strings for localization inlanguages/wpd-gear.pot - General code cleanup throughout multiple files
2.0.2
- Updated function name for Gear custom post type in
admin/class-wpd-gear-post-type.php
2.0.1
- Bugfix changed function names in the activator for post type and taxonomies in
includes/class-wpd-gear-activator.php - Updated featured images array to include
wpd-thumbnailsize inadmin/class-wpd-gear-widgets.php - Updated REST API data to include
wpd-thumbnailsize inadmin/class-wpd-gear-rest-api.php - General code cleanup throughout multiple files
2.0
- Added
orderbyandmeta_keyshortcode attributes inadmin/class-wpd-gear-shortcodes.php - Updated eCommerce display to remove comma between categories in
admin/wpd-gear-functions.php - Updated select options for featured image sizes in widgets in
admin/class-wpd-gear-widgets.php - Updated product titles to use h2 wrapper in
admin/class-wpd-gear-shortcodes.php - Updated
.potfile with text strings for localization inlanguages/wpd-gear.pot - General code cleanup throughout multiple files
1.9
- Added ‘prices’ REST API endpoint in
admin/class-wpd-gear-rest-api.php - Added ‘details’ REST API endpoint in
admin/class-wpd-gear-rest-api.php - Added REST API endpoint for various featured image sizes in
admin/class-wpd-gear-rest-api.php
1.8.2
- Bug fix pass the ID argument to prices and image helper functions in
admin/class-wpd-gear-shortcodes.php
1.8.1
- Updated the widget to pass the post ID to the
wpd_product_imagehelper function inadmin/class-wpd-gear-widgets.php
1.8
- Added gear prices to
get_wpd_all_prices_simplefilter inadmin/wpd-gear-functions.php - Added gear to
wpd_menu_typeshelper function inadmin/wpd-gear-functions.php - Added gear to
wpd_top_sellers_metaboxfilter inadmin/class-wpd-gear-metaboxes.php - Updated widget to use the
wpd_product_imagehelper function inadmin/class-wpd-gear-widgets.php - Updated code to escape
$_POSTmetabox data inadmin/class-wpd-gear-metaboxes.php - Updated gear category taxonomy
show_in_restvalue totrueinadmin/class-wpd-gear-taxonomies.php - Updated shortcode to use
get_wpd_product_imagehelper function inadmin/class-wpd-gear-shortcodes.php - Updated product title to use
get_the_titlefunction inadmin/class-wpd-gear-shortcodes.php - WordPress Coding Standards updates in
admin/class-wpd-gear-shortcodes.php
1.7.1
- Removed custom REST API codes for Gear category endpoint in
admin/class-wpd-gear-rest-api.php
1.7
- Added Gear category to the eCommerce add-on’s single item display in
admin/wpd-gear-functions.php - Removed extra
}in the Gear helper functions inadmin/wpd-gear-functions.php - Updated text strings for localization in
admin/wpd-gear-functions.php - Updated
.potfile with new text strings for localization inlanguages/wpd-gear.pot - General code cleanup
1.6
- Added 2 helper functions
get_wpd_gear_prices_simpleandwpd_gear_prices_simpleinadmin/wpd-gear-functions.php - Added 2 action hooks
wpd_gear_widget_inside_loop_beforeandwpd_gear_widget_inside_loop_beforeinadmin/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_messagesinadmin/class-wpd-gear-post-type.php
1.5
- Updated
Geardisplay text to change based on custom permalink base inadmin/class-wpd-gear-post-type.php - Updated
Geardisplay text to change based on custom permalink base inadmin/class-wpd-gear-shortcodes.php - Updated
Geardisplay text to change based on custom permalink base inadmin/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_codefunction inadmin/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
.potfile with new text strings for localization inlanguages/wpd-gear.pot
1.4
- Added
.potfile for localization inlanguages/wpd-gear.pot - Added permalink settings option for
gearbase inadmin/class-wpd-gear-post-type.php - Updated permalink base codes for
gearcustom post type inadmin/class-wpd-gear-post-type.php
1.3
- Add admin screen thumbnails to Gear menu type in
admin/class-wpd-gear-post-type.php - Add
categoriesendpoint to the REST API inadmin/class-wpd-gear-rest-api.php - Remove
wpd_gear_categoryREST API endpoint inadmin/class-wpd-gear-post-type.php - Update Gear category wording in
admin/class-wpd-gear-taxonomies.php - Update
gear_categoryendpoint name inadmin/class-wpd-gear-rest-api.php
1.2.1
- 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
1.2.0
- Added
viewallshortcode option (req: WPD 1.9.18+) inadmin/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_gearshortcode name for attribute filter inadmin/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_DEBUGnotice by adding a default value for $rewrite variable inadmin/class-wpd-gear-post-type.php - Fixed
WP_DEBUGnotice by addingglobal $postto Gear vendors and categories inadmin/class-wpd-gear-data-output.php - Updated admin menu order for
Gearinadmin/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 GeartoDispensary Gearinadmin/class-wpd-gear-widgets.php
1.1.0
- 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
1.0
- Initial release