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 New
and search for Dispensary Gear - Activate the plugin and enjoy!
Reviews
There are no reviews for this plugin.
Contributors and Developers
“Dispensary Gear” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Dispensary Gear” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Change Log
2.0.4
- Bugfix added missing arg to
get_wpd_product_details
REST 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
.pot
file 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_cap
in the widget description inadmin/class-wpd-gear-widgets.php
- Updated
.pot
file 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-thumbnail
size inadmin/class-wpd-gear-widgets.php
- Updated REST API data to include
wpd-thumbnail
size inadmin/class-wpd-gear-rest-api.php
- General code cleanup throughout multiple files
2.0
- Added
orderby
andmeta_key
shortcode 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
.pot
file 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_image
helper function inadmin/class-wpd-gear-widgets.php
1.8
- Added gear prices to
get_wpd_all_prices_simple
filter inadmin/wpd-gear-functions.php
- Added gear to
wpd_menu_types
helper function inadmin/wpd-gear-functions.php
- Added gear to
wpd_top_sellers_metabox
filter inadmin/class-wpd-gear-metaboxes.php
- Updated widget to use the
wpd_product_image
helper function inadmin/class-wpd-gear-widgets.php
- Updated code to escape
$_POST
metabox data inadmin/class-wpd-gear-metaboxes.php
- Updated gear category taxonomy
show_in_rest
value totrue
inadmin/class-wpd-gear-taxonomies.php
- Updated shortcode to use
get_wpd_product_image
helper function inadmin/class-wpd-gear-shortcodes.php
- Updated product title to use
get_the_title
function 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
.pot
file with new text strings for localization inlanguages/wpd-gear.pot
- General code cleanup
1.6
- Added 2 helper functions
get_wpd_gear_prices_simple
andwpd_gear_prices_simple
inadmin/wpd-gear-functions.php
- Added 2 action hooks
wpd_gear_widget_inside_loop_before
andwpd_gear_widget_inside_loop_before
inadmin/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
inadmin/class-wpd-gear-post-type.php
1.5
- Updated
Gear
display text to change based on custom permalink base inadmin/class-wpd-gear-post-type.php
- Updated
Gear
display text to change based on custom permalink base inadmin/class-wpd-gear-shortcodes.php
- Updated
Gear
display 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_code
function 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
.pot
file with new text strings for localization inlanguages/wpd-gear.pot
1.4
- Added
.pot
file for localization inlanguages/wpd-gear.pot
- Added permalink settings option for
gear
base inadmin/class-wpd-gear-post-type.php
- Updated permalink base codes for
gear
custom 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
categories
endpoint to the REST API inadmin/class-wpd-gear-rest-api.php
- Remove
wpd_gear_category
REST API endpoint inadmin/class-wpd-gear-post-type.php
- Update Gear category wording in
admin/class-wpd-gear-taxonomies.php
- Update
gear_category
endpoint 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
viewall
shortcode 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_gear
shortcode 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_DEBUG
notice by adding a default value for $rewrite variable inadmin/class-wpd-gear-post-type.php
- Fixed
WP_DEBUG
notice by addingglobal $post
to Gear vendors and categories inadmin/class-wpd-gear-data-output.php
- Updated admin menu order for
Gear
inadmin/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
toDispensary Gear
inadmin/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