Go
Add layouts for the CoBlocks Layout Selector to make building pages much easier and faster.
by GoDaddy · github.com/godaddy-wordpress/go-plugin · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/godaddy-wordpress/go-plugin/archive/refs/heads/master.zipReadme
Go Plugin: Layouts for the CoBlocks Layout Selector
Development
- Clone the GitHub repository:
git@github.com:godaddy-wordpress/go-plugin.gitinto your WordPress installationswp-content/pluginsdirectory. The folder name should bego-plugin. - Browse to the folder in the command line.
- Run the
composer installcommand to install the plugin's development dependencies.
Development Commands
Linting and auto-formatting:
Run composer lint to run code styling checks and composer format for the auto-formatter to fix what it can.
Generating the .pot file:
Run composer makepot to generate a new translation langauges/go-plugin.pot file.
Build a release zip file
Run composer build-release to generate a production ready .zip file should you need to.
Releasing a new version
This repo is utilizing GitHub Actions and the 10up/action-wordpress-plugin-deploy action to push new deployments to the plugin repo. Simply tagging a new release will trigger the workflow and deploy a new version.