Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/bluecadet/bluecadet-wp-utils/archive/refs/heads/master.zipOn Packagist as bluecadet/bluecadet-wp-utils:
composer require bluecadet/bluecadet-wp-utilsNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Bluecadet Utils
- Create custom post types and custom taxonomies via plugin (instead of the Theme)
- Adds Google Analytics field to admin settings, outputs script in wphead if option is set
Post Types and Taxonomies
Add post types to the RegisterCPTs function in the PostTypes class in lib/src/PostTypes.php.
Add taxonomies to the RegisterTaxonomies function in the Taxonomies class in lib/src/Taxonomies.php.
The LabelMaker class can be used to quickly produce labels for both Post Types and
Taxonomies (see lib/src/LabelMaker.php).
Google Analytics
Plugin adds a field to Admin Settings General, where an admin can enter a Google
Analytics id number. If the field has a value, it will be loaded into wphead, and only
be printed if a user is not logged in.
Timber Helpers
- print(somevar) or kint(somevar): A Drupal ksm/kint style print of variables
Releases
1 release.
Tag
Published
1.0.0
latest
Jan 8, 2020 6 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.