Using Local by Flywheel for Local Laravel Development

While I mostly build with WordPress, I’m going to be working with a few projects coming up that will require a more custom application approach. So, I’m (most likely) going to use Laravel. Step one for any project is to get set up locally. If you’re like me, you like keeping things organized and try to keep things from getting redundant.

For local development, this means using one solution as best I can to make getting setup and going on new projects as simple as possible. While I’ve used ScotchBox, VVV and WP Local Docker before, I’m using Local by Flywheel all the time now. It’s easy to get rolling, consistent for our team to use, and if you want to try out something like Laravel or Craft, you can easily sub those frameworks in. 

Here’s how I’m doing that with Laravel…

Read More

A New Talks Page

Recently, I’ve started volunteering to give more talks to local user groups and conferences. Normally, I have some kind of slide deck to go along with those as a resource. To keep all of these in one place, I’ve created a Talks page as a kind of repo for the talks I’ve given or talks in development.

Read More

Auto-Send Slack Invites

Recently, we wanted to create a Slack group for a meetup group in our city. We also wanted to auto-send Slack invites to folks so the admins didn’t have to.

Everyone (especially devs!) love Slack, and we’re on it all the time. One of the best ways we can keep in touch outside of the meetup (meetup.com doesn’t really have a good interface for chatting with group members in between meetups) is to make sure we’re able to communicate and ask questions here between meetups.

Read More

How I Wrote My First Bash Script to Implement WP-CLI on Managed Sites

They say if you want to learn something, teach.

Or scratch your own itch.

Or just do it.

In any case, I had an itch that I have been wanting to find a fix for for a while.

If you are a developer like me, you began figuring this “WordPress thing” out through tutorials, trial and (mostly) error, and trying a lot of different things out.

Also, if you’re like me, you got into this for several reasons, one of which is the joy of helping people out and getting them a website setup and launched. I love the satisfaction of getting that project launched and the joy these folks have when they realize they can manage their own publishing.

And of course, if you’re a developer like me, you have a shared hosting account with at least a dozen different websites that are small personal projects or folks on the “friends and family plan” (read “free hosting” 🙂 ). This means I have a dozen or so sites I want to make sure I keep updated, but don’t want to spend a lot of time updating.

So, I decided to learn enough bash to write a script that would execute WP-CLI commands on my local environment as well as my shared hosting.

Here’s how I did it…

Read More

My First Open Source Code Contribution

A lot of developers have stickers on their computers. Sometimes the stickers are like pieces of flare. Sometimes, they’re like merit badges. Still, other times the stickers are like a signal flare. Whatever the case, I geek out about them a bit. I see the stickers somewhere in between a merit badge, a piece of flare, and that signal flare.
I have one sticker on my laptop:

Read More

How to Use a Filter on TinyMCE to Add Buttons

Recently, I was asked to add a button to the visual editor for posts and pages on a WordPress install that would insert the <!--nextpage--> code for article pagination . I had done this before, but wanted to write about it here, since I’d totally forgotten how to do it, and wanted to make sure I had a snippet or two for reference.

Read More