https://github.com/getdave/wp-plugin-template
A very basic starter template for a WordPress plugin.
https://github.com/getdave/wp-plugin-template
Last synced: about 1 month ago
JSON representation
A very basic starter template for a WordPress plugin.
- Host: GitHub
- URL: https://github.com/getdave/wp-plugin-template
- Owner: getdave
- Created: 2024-04-08T15:16:04.000Z (about 2 years ago)
- Default Branch: trunk
- Last Pushed: 2024-04-12T08:13:03.000Z (about 2 years ago)
- Last Synced: 2025-02-26T02:41:22.295Z (over 1 year ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Getting Started
- Clone this repo to your machine providing a new folder name
```
git clone --depth 1 git@github.com:getdave/wp-plugin-template.git MY_PROJECT_NAME
```
- Remove the Git repo
```
cd MY_PROJECT_NAME
rm -rf .git/
```
- Initialise a new Git repo - `git init`.
- Use new Plugin name strings:
- Replace `getdave-plugin-template` with `getdave-MY_PROJECT_NAME`.
- Update `Plugin Name` header in `plugin.php`.
- Install dependencies - `npm i`.
- Start development! - `npm start`.