Running WordPress PHPUnit Tests With Docker

I recently moved my web development workspace from MAMP to LAMP with Docker. The transition was difficult, due to issues with Ruby and RVM on my host machine. Now that it is working, all is well!

When I started tinkering with Docker, my goal was just to see if I could replicate my WordPress development environment. After I did that, I improved it a bit. Now, i’ve suitably compartmentalized each project. Each WordPress project has its own WordPress installation, MySQL server, error logs, plugin and theme directories.

The only thing missing was being able to run unit tests!

Read on! “Running WordPress PHPUnit Tests With Docker”

Basic WordPress Theme

An example of the theme's front page.
The front page!

The Basic theme is exactly what it sounds like. It’s a barebones starter theme built on top of the fantastic Underscores theme (_s). With support for Sass and some build tools that I pieced together, modification is reasonably easy.

Now, I’ve got a launch pad project for simple WordPress site development! Actually, we have a launch pad project for simple WordPress development. I’ve hosted the source code and build tools on Github. You can build the project yourself!

Read on! “Basic WordPress Theme”

JavaScript Radial Counter Library and WordPress

As a follow up to the post I wrote about my HTML5/JavaScript Radial Counter Library, I want to talk about how I am utilizing the library in my current theme. In order to make the library easily reusable throughout the site, I made a shortcode specifically for the counters. More accurately, I made a shortcode for the counters, and a shortcode to wrap the counters. The wrapping shortcode is particularly useful for ensuring that the positioning and styling of the counters works on both desktop and mobile.

Read on! “JavaScript Radial Counter Library and WordPress”

Useful Sublime Text 3 Snippets

An example of the auto-completion dropdown in Sublime Text 3.
Sublime Text (3) Snippets!

I have been using the Sublime Text for a while now—it’s already up to version 3!—and have grown very fond of it. One of the many features that I have found extremely useful is the snippet system. Snippets allow you to store blocks of code that can be accessed with a keyword via the auto-completion pop-up when typing. I have a few snippets below that I tend to use over and over again. Perhaps you’ll find a use for them as well.

Read on! “Useful Sublime Text 3 Snippets”

Necessary Tools

The Necessary Tools plugin logo.

The Necessary Tools plugin is a WordPress plugin that builds on the default functionality of WordPress. Its purpose is to provide quality-of-life features to all users. Features include post cloning, and exporting posts individually or in bulk. Of course, custom post types are supported by both features.

Read on! “Necessary Tools”

GET Theme

The Graphene Electro-Thermals logo.

The “GET” WordPress theme was developed for the Graphene Electro Thermals (GET) organization. The theme sports a simplistic layout, using a color scheme that is unique to the style of GET. It includes a static front-page, as well as a “Blog” page template that allows for the creation of an infinite number of blog pages. The front-page features a full-width image slider with a social media bar as well customizable labels for each of the slides.

Read on! “GET Theme”

Game On

The Mac Lab's logo.

Game On is a gameful education WordPress plugin. It provides a suite of tools for teachers to take advantage of. Game On is the brain child of Mike Skocko, a New Media Arts Teacher and Adobe Education Leader at the Valhalla High Mac Lab. The plugin was originally developed for internal use in the Mac Lab. However, in 2012 the plugin was released for other teachers to use. In 2015, the user base reached 80+ educators. Over the 2+ years that i’ve been working on it, Game On has come a long way and still has much further to go. Regardless, Game On and the Mac Lab still have the same mission, to innovate education by breaking the box.

Read on! “Game On”