Skip to content
/ uri-plugin-template Public template

🚀 A template for creating WordPress plugins with dev tools

License

Notifications You must be signed in to change notification settings

uriweb/uri-plugin-template

Repository files navigation

URI Plugin Template

The URI Plugin Template repository is a base template for building WordPress plugins with gulp, PHP Code Sniffer, and Travis CI.

How do I get set up?

There are a few things you need to do to get up and running:

  1. Download master.zip and unzip it

  2. Rename .gitattributes-sample to .gitattributes

  3. Rename the main plugin file uri-plugin-template.php and update the header to match your new plugin.

  4. Update package.json with your new plugin info.

  5. Update the @package tag in src/js/script.js.

  6. Gulp runs a task to update the plugin version number from package.json, so you don't have to update it in two places. However, gulp looks for the main plugin file by name in order to do this, so you'll need to update gulp.js to reflect the new name.

  7. If you already have gulp and gulp-cli installed globally, install gulp and devDependencies in the project directory:

$ cd <project_dir>
$ npm install gulp
$ npm install --save-dev

Finally, don't forget to update this readme.

For a more thorough install, and for PHP Code Sniffer support, head over to SETUP.md.

Plugin Details

Master Build Status CodeFactor Codacy Badge devDependencies Status

URI Plugin Template
A base template for building WordPress plugins with gulp, PHP Code Sniffer, and Travis CI.

Contributors: Brandon Fuller
Tags: plugins
Requires at least: 4.0
Tested up to: 4.9
Stable tag: 0.1.0

About

🚀 A template for creating WordPress plugins with dev tools

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published