Projects
WP Create
A bash script for quickly creating local WordPress sites on Ubuntu in WSL.
Usage
- Create and/or navigate to the directory where you want to create WordPress sites:
mkdir -p /path/to/dev/directory && cd /path/to/dev/directory - Clone the repository:
git clone [email protected]:joshmckibbin/wp-create.git . - Make sure you have execute permissions:
chmod +x wp-create.sh - Copy the
.env-samplefile to.envand replace the environment variables accordingly:cp .env-sample .env - Run the script
./wp-create.sh
There is also a wp-destroy.sh script that undoes everything.
Visit the GitHub page for more info.
Why is this necessary?
Why not just use LocalWP?
LocalWP uses its own Docker containers and cannot be ran directly in WSL, which makes it run pretty slow. It also means that you have to do all of your coding directly in Windows and not WSL. I much prefer coding in a Linux environment.
Why not just use WordPress Playground?
No data persistence, so database development and testing is impossible.
What about wp-env?
In my experience, wp-env is incredibly buggy and inconsistent.
Simple PHP Info
A simple WordPress plugin that shows phpinfo() in a dashboard widget and in a shortcode.

Usage
Using the shortcode
Simply type [phpinfo] in the body of a shortcode field when creating a post or page. You can also set it to output without css styles: [phpinfo output=table-nocss].
Changelog
1.0.4
- Compatibility with WordPress 6.3
- Converted LESS styles to SASS and recompiled to CSS
1.0.3
- Compatibility with WordPress 6.1.1
1.0.2
- Added additional escaping
- Removed array output option from shortcode
1.0.1
- Added escaping
- Fixed text-domain declarations
1.0.0
- Initial Release
Simple SMTP Mailer
A simple WordPress plugin for configuring a site to use a SMTP server to send email instead of the default PHP mail function.

Why is this necessary?
When working in a development environment, more than likely the PHP mail function is not going to work. I found that most of the SMTP plugins available on WordPress.org do way too much. This plugin does one thing and one thing only… Sends WordPress email using SMTP.
You can now easily test your forms in your local dev environment without installing a mail server!
Changelog
1.1.0
- Added the ability to manually override plugin options by defining the
SSMTP_MAILERconstant - Changed PHP requirement to 8.0
- The SMTP password is now stored as a salted hash
- Errors now get added to the PHP error log when debug option is enabled
- Some minor code refactoring
1.0.5
- Compatibility with WordPress 6.3
1.0.4
- Added a debug option
1.0.3
- Compatibility with WordPress 6.1.1
1.0.2
- Replaced all PHP short tags
1.0.1
- text-domain fix
- Changed permissions from administrator to manage_options
- Added options page link on plugins page
- Updated the description
1.0.0
- Initial commit