Skip to content

anspress/anspress-boilerplate-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnsPress boilerplate extension

This is a AnsPress extension base code generator grunt template. You can use this template to generate source codes of AnsPress extension. Simply answer the questions when prompted and your extension will be built by grunt.

NOTE: This is not a AnsPress extension but it is a AnsPress extension generator, it means you can't use this project file directly in WordPress

Installation

If you haven't already done so, install grunt-init:

npm install -g grunt-init

Once grunt-init is installed, place this template in your ~/.grunt-init/ directory. It's recommended that you use git to clone this template into that directory, as follows:

Linux/Mac Users

git clone [email protected]:wp3/anspress-boilerplate-extension.git ~/.grunt-init/anspress-boilerplate-extension

Windows Users

git clone [email protected]:wp3/anspress-boilerplate-extension.git %USERPROFILE%/.grunt-init/anspress-boilerplate-extension

Usage

  1. At the command-line, create a new directory in wp-content/plugins
  2. cd into an empty directory
  3. run the following command and follow the prompts
grunt-init anspress-boilerplate-extension

Support

Have question ? feel free to ask here: https://anspress.io/questions/ask/

Credit

Most of this is copied from grunt-wp-plugin by 10up, so thanks to them!

About

Generate AnsPress extensions base source codes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published