Skip to content

  • Date Posted: May 23, 2021

1 Install WordPress Plugin Template

I was going to upload a basic plugin template for WordPress. The idea being a repo with the core files and whenever I wanted to start a new project, I would simply download the files and do a search replace on a few variables. Sounded easy. but it could be easier than that with a bash script. I don’t know how to write bash scripts so I took the weekend to learn it.

Code

> chmod +x ./install.sh &&; ./install.sh
Plugin name (sample-app): my-custom-plugin
Plugin description: something pretty cool
Author name: Marilyn Morales
Author URI: http://marilynmorales.com
......
My Custom Plugin created!

Code

This is the following stfufff\