开发者 |
daveshine
deckerweb |
---|---|
更新时间 | 2019年2月22日 06:09 |
捐献地址: | 去捐款 |
PHP版本: | 3.6 plus WooCommerce 2.x 及以上 |
WordPress版本: | 5.1 |
版权: | GPL-2.0+ |
版权网址: | 版权信息 |
Have Quicker Access to Your WooCommerce Shop Resources - Time Saver! This small and lightweight plugin just adds a lot WooCommerce related resources to your WordPress Toolbar / Admin Bar. Also links to all setting/ tab pages of the plugin are added making life for shop administrators/ webmasters a lot easier. So you might just switch from the frontend of your site to 'Payment Settings' page or check recent 'Orders' etc.General Features
manage_woocommerce
(a.k.a. user role "Shop Manager"). (Note: I am open for suggestions here if the default value should maybe changed to a more suitable capability. However, you can now tweak this also yourself using our new filter :)woocommerce-admin-bar-addition.pot
) for translators is also always included :)woocommerce-admin-bar-addition
folder to the /wp-content/plugins/
directory/wp-content/languages/wcaba/
(just create this folder) - This enables you to use fully custom translations that won't be overridden on plugin updates. Also, complete custom English wording is possible with that, just use a language file like wcaba-en_US.mo/.po
to achieve that (for creating one see the tools on "Other Notes").Just drop me a note on my Twitter @deckerweb or via my contact page and I'll add the link if it is useful for admins/ webmasters and the WooCommerce community.
This is possible of course and highly welcomed! Just drop me a note on my Twitter @deckerweb or via my contact page and we sort out the details!
Particularly, I need the admin url for the primary options page (like so wp-admin/admin.php?page=foo
) - this is relevant for both, plugins and themes. For themes then I also need the correct name defined in the stylesheet (like so Footheme
).
Simple answer: The settings of these add-ons are added directly to the various WooCommerce settings pages or tabs and have no anchor to link to. So linking/ adding is just impossible.
All this could be done via our filters and constants. Really lightweight and simple. Just step up the "Other Notes" area here and scroll down to the proper section.
Yes, it is! :) Works really fine in Multisite invironment - here I just recommend to activate on a per site basis so to load things only where and when needed.
Yes, you could. -- However, it doesn't make much sense. The plugin is intented for a per site use as the admin links refer to the special settings, plugin-support and theme-support for that certain site/blog. So if you have a Multisite install with 5 sites but only 3 would run "WooCommerce" then the other 2 sites will only see support links in the Toolbar / Admin Bar... I guess, you got it? :) Though intended for a per site use it could make some sense in such an edge case: if all of the sites in Multisite use WooCommerce and have lots of WooCommerce-specific plugins in common and use the same theme/framework. This might be the case if you use Multisite for multilingual projects, especially via that awesome plugin: http://wordpress.org/plugins/multilingual-press/
This plugin has NO settings page because I believe it's just not neccessarry. All customizing could be done via CSS styling, filters, constants and regular WordPress user roles & capabilities. As the plugin is indended for a shop manager/ admin/ webmaster use that's the way to go. This way we can save the overhaul of an options panel/ settings page, additional database storing & requests, uninstall routines and such. End result: a lightweight system that just works and saves clicks & time :-).
wcaba
to woocommerce-admin-bar-addition
to match the plugin's slug!constants
in your active theme/child theme -- this way you can customize for your staff members if you need some more users with extended or restricted admin bar/toolbar access (See "Other Notes" here)add_theme_support
you can now add all WooCommerce order status with counters to the "Orders" item -- I decided to make it optional because getting the counts will need a database call, so not every admin will want this! (See "Other Notes" here)add_theme_support
you can now add all frontend shop links (all special shop, cart etc. pages) to the main level "Orders" -- not every shop manager needs that so I decided to make it optional (See "Other Notes" here)/wp-content/languages/wcaba/
(just create this folder) - this enables you to use fully custom wording or translations