shane.blog Just Some Things

CategoryWordPress

Some A8c Perks

S

Here is a list of some of the things I am taking advantage of at Automattic. I am hoping these entice you to apply. You can see even more benefits of working at Automattic here.

Update WordPRess Via WP-CLI

U

Updating WordPress Core via the CLI. Updating WordPress via the CLI is pretty easy. First make sure you have wp-cli installed. I’ll use my Linode as an example. # wget --2021-08-02 03:09:12-- Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108...

Linode & WordPress

L

I recently grabbed a Linode and turned it into a web server. It was so fun! Securing Linux, installing, configuring, and securing services, getting it all working with WordPress and iptables, I spent a few hours having a blast. Keep an eye out for a tutorial. I’ll take you from sign up to launching a WordPress site. It’s under $5 a month for everything.
Error happened.

Updates to the home office – Work with me!

U

I work for a great company. One of the many perks that I and my co-workers enjoy is a regular hardware refresh. That along with a paid three-month sabbatical encouraged every five years, home office, career coaching, time off (open vacation policy) and more! I am sharing so you come and work with me! So it was time for a hardware refresh this month, and it was also time to pick out my four-year...

5 Year Anniversary Mac

5

I have been at Automattic for over 5 years! I am truly blessed to have found both a company and a role that fit me so well. One of the many benefits of working at Automattic is the 4/5 year anniversary Mac. Typically we are able to refresh our hardware every 18 months. This time around a few of us opted for the new 13″ Macbook Pro with the new M1 chip. What makes this laptop special is that...

Loop through an array

L

Today I needed to loop through the output of a command on the WP CLI. The most simple way I could think to do that was to save the output of the command into an array and loop through it. What I did was use wp site list to get the subsites on a WordPress Multisite. I needed to pass each of those sites as an argument to a command and give it some time in between each execution since it was going...

VIP Grand Meetup

V

In October WordPress VIP headed to the Rotterdam in the Netherlands for the VIP Grand Meetup! This was my first VIP GM and the first year not attending the main Automattic GM. I had a blast getting to know the amazing folks in VIP. You can view some photos of the trip here.
Error happened.

Hawaii

H
Hawaii

I had a great time with my wife and my team (Tatooine) in Hawaii. We were there 12 days total. The only thing I would change is the location in Hawaii. Honolulu is very crowded. It’s a big city that felt like Los Angeles, only the driving was 100 times worse. It was hot and humid as well. If I was to go back to Hawaii I would choose a different island. We rented a car for 7 days and left...

Hawaii: Team Tatooine MeetUp!

H

My team is having a MeetUp in Hawaii and it should be a lot of fun. I am looking forward to spending some time with my team, Tatooine in WooCommerce, as well as a team from .com that is having their MeetUp in the same location. We have some cross team stuff planned that should be really great learning experiences. When I have been on team and company wide meet ups, I have really enjoyed fitness...

Closing Party

C

Last night was the closing party which officially ends the Grand Meetup.

The party was held at Epcot Center not too far from our hotel. It was a blast! The food, the band (our own Automatticians), the fireworks, just an amazing experience as always! View the album here!

Error happened.

First Commit to WordPress Core

F

This week during the Grand Meetup I was in a class called "Contributing to Core". It was such a great class in that I got an inside view to all things WordPress Core. By the end of class I had my very first commit to WordPress Core. The commit was a fix for #45028 that my co-worker filed during the class.

A8CGM – Harry Potter

A

Tonight we took over Universal Studios and The Wizarding World of Harry Potter. Just us! The entire park to ourselves. No lines for rides, unlimited food and drinks, including my favorite beer and Butter Beer! I had 4 cups of the frozen Butter Beer! I can't even begin to describe how amazing the experience was. My team, my co-workers, we are like a huge family and we got have a blast hanging out...

Keynote Speaker

K

During the GM we have a few speakers come and give a talk. This morning was Cheryl Strayed. Until today I had not heard of her, but it seems like I may have been hiding under a rock. 🙂 Her talk was great and very inspiring. I enjoyed it quite a bit and had several moments where I felt like she was talking directly to me. I was able to grab her book “Wild” and have it signed. I am...

Adding an icon to your WordPress.org Plugin

A

I finally got around to adding a simple icon to my plugin on WordPress.org. It was very easy! Here is how to can do it in just 5 simple steps. Before you start In your plugin folder you should have an assets folder. This is where you can add files for things like the Plugin’s icon, the header, screenshots, etc. The folder should be a top level directory, so it’s not going to be in...

WooCommerce: Emails are not sending

W

One of the more frequent issues that we hear about day to day is that WooCommerce is not sending emails for new orders (or any emails at all). There are several reasons that this may be happening. The most common reason is that the status of order is such that an email is not going to be sent. Some times the email may not even be enabled, or the server is not sending the emails. While we do have...

WordPress: Adding custom fields

W

Every day that I get a CrossFit workout in, I like to record that on my site, Level Up CrossFit. But that is a time consuming task that I have less and less time for. I don’t want to stop doing that, so I decided to add some custom fields so that entry is easier and formatting is all done. Enter Advanced Custom Fields. This plugin makes it very simple. Just add the custom fields in the...

WooCommerce Services and the Nexus: Tax calculations are not shown

W

In WooCommerce you can use WooCommerce Services to make tax calculations easier. This uses the TaxJar API to do that for you. Sometimes though, you will have everything configured correctly, but taxes still show as $0 or not at all on the front end of your site. This is often because there is no Nexus available. To confirm this, make sure you have Automated Taxes enabled. Now let’s check...

Send a coupon to a customer after signup

S

WooCommerce: Send a coupon! Send a coupon to a customer as a reward for subscribing to a list and/or creating an account during checkout. With Follow Up Emails you can create a list for your customers to subscribe to, create a sign up form to subscribe to that list, and send them a coupon for doing so! This is what you do. Create a new coupon in Follow-Up Emails Create a new Signup Email in...

WooCommerce Image Size Settings

W

WooCommerce 3.3 Image Size Changes WooCommerce 3.3 got some Image Size Improvements. You can read all about that here. This has caused a little confusion because if a theme defines the image sizes then a few options disappear. What once looked like this: Now looks like this: The change is that these two settings have been hidden. Main image width and Thumbnail width If you see these missing, this...

shane.blog Just Some Things