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

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

July Checkin, Goals Update

I’m big on setting goals and areas of focus for the short term. My general goals and mantra for 2017 are summed up in the post Harder, Better, Faster, Stronger… I usually like to see where I’m at halfway through the year and adjust accordingly to either get back on track or set some different goals.

So far, 2017 has been crazy busy and a lot of fun. We celebrated the birth of our daughter January 11th and the fun (and work!) has not stopped. Being a parent has been awesome, and our daughter is an exceptionally easy infant. I know others don’t have as easy of a time, but this gal is already sitting, standing, eating pureed food, and smiling ear to ear. We love her a ton! 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

Getting Post Meta for the WP REST API

My friend and I are working on a little side project. It’s a job posting site for an industry we’re familiar with: ESL jobs around the world. While this project could be seen as “just another job board”, we’re hoping to add some features that will make it fun to use and valuable for schools and recruiters. I of course want to build it on WordPress, but to get a some of the functionality I want, I need to expose some post meta to the WP REST API.

In researching how to do this, I quickly found out that the WP REST API doesn’t naturally expose post or user meta. As with most things WP REST API, you don’t have to go too far down the rabbit hole before you find a practical article written by the Josh Pollock. While the register_api_field function isn’t in use anymore, the register_rest_field function is, so this article and that function were all I needed to get going.

Read More