-
Navigate to https://wp.docker/wp-admin/ (ask for login in main channel).
-
Git clone this plugin (should NOT be run in production environments on high-traffic servers where performance matters...) into the onecms-docker plugins dir.
-
Navigate to Vanilla WP Network.
-
Go to Plugins.
-
Network activate plugin.
-
Go back to https://wp.docker/wp-admin/.
-
Open Dev Toolkit from Admin Menu link.
-
Click "Start New Plugin".
How to fill out the New Plugin form:
-
Click Generate New Plugin. This will deliver a new zip file. Check that your namespace has been correctly generated.
-
Follow these instructions: https://github.com/WordPress-Phoenix/abstract-plugin-base#installation
Lib files come from composer, but you need to ensure you run the command without the composer autoloader:
composer update --no-dev --no-autoloader
The plugin uses the GitHub API to fetch the latest copy of the Abstract Plugin Base to include in the plugin. You can alternatively set:
define( 'WP_DEV_KIT_AIRPLANE_MODE', true )
to pull the ABP powering this plugin for internet-less development.
You may have 403 issues with these files if you unzip and put it into the plugins directory.
ls
the directory and see if there's extended attributes on your plugin directory. If so, it will have an @
sign at the end of its permissions, ie: drwxr-xr-x@
To remove the extended attributes: xattr -rc <directory>
Apply required permissions: chmod 755 <file>