The description for the plugin scaffolded by this repository.
- Navigate to the 'Add New' Plugin Dashboard.
- Select
wp-plugin-scaffold.zip
from your computer. - Upload.
- Activate the plugin on the WordPress Plugin Dashboard.
- Extract
wp-plugin-scaffold.zip
to your computer. - Upload the
wp-plugin-scaffold
directory to yourwp-content/plugins
directory. - Activate the plugin on the WordPress Plugins Dashboard.
- Navigate to the
plugins
directory of your WordPress installation. - From the terminal, run
$ git clone git@github.com:tommcfarlin/wp-plugin-scaffold.git
This specific repository assumes you're running PHP 8.0. At the time of this writing, WordPress is not fully compatible with PHP 8.0; however, if you change the references to PHP 7.4.28 in
composer.json
plugin.php
Then you should be okay. If you still experience problems, make sure you're not running Composer 2. If that still doesn't work, don't hesitate to open an issue.