shane.blog Just Some Things

TagWordPress

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.

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...

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...

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...

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...

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...

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...

Update a plugin with FTP

U

Updating or installing a WordPress plugin using FTP 1. What is FTP? 2. Why would I use FTP and not the update plugin button? 3. WooCommerce Extensions What is FTP? FTP stands for File Transfer Protocol. It’s a way for you to drag and drop files from your desktop to the server hosting your website. This is a great way to manage your files. Some hosting companies provide you with a web...

Grand Meetup Recap

G

Grand Meetup Recap <- Photo Credit: Eduardo Villuendas The approach this year has been to be purposeful about three things. The first was to be sharp and alert for the PHP class that I chose to take this week. The second was to meet people and be involved while also being real about what I can handle and only pushing myself to do more when it made sense. The third and last was to eat well and...

The Grand Meetup

T

2017 Automattic Grand Meetup Every year we get together as a Company, all of Automattic, and we have an incredible week together. It’s really hard to describe this event because you really have to experience it to understand. For a week brilliant and creative people get together and collaborate, learn, take classes, do projects, share experiences and make memories. We do this all over the...

Ireland Day 5

I

Day 5 was all work no play … well until the end. 🙂 We attended Celtic Nights Traditional Irish Dance Show and it was a lot of fun.
 
 
 

Error happened.

Ireland Day 4

I

Day 4 was mostly spent seeing Ireland! We all piled into a tour bus and traveled all over. We saw two different counties and even passed through the town where “P.S. I love You” was filmed, which is our favorite movie! We went to Kilkenny and Glendalough. Glendalough Monastic City was pretty amazing and we hiked a rather difficult hike to the top of a hill for a killer view. We saw so...

Ireland Day 3

I

Day 3 started at 4:00 AM. I know, right? I could not sleep much at all. Being 8 hours ahead is just not fun. Knowing I had to be up at 5:00 and navigate my way to CrossFit Navitas by 5:30 made me a little anxious, but it was easy. Sunrise is 6:53 AM, and so it was dark, but walking 22 minutes to Camden was very enjoyable and felt safe, even though it was dark. The perfect amount of cold, one...

WooCommerce Subscriptions Can I Remove Product?

W

If I remove a product or a product variation from my store, will that effect past Subscriptions based on the product I removed? I get this question a lot, and it makes sense. If you run out of stock, you don’t want to sell it anymore. Or what if you just want to discontinue a product, but still plan to sell it to folks who already have a Subscription? The answer is yes, removing the product...

shane.blog Just Some Things