Batch Post

Batch Post

The Batch Post WordPress plugin gives authors the ability to generate numerous posts from a template post. Using the plugin’s custom shortcode, portions of both the title and the body of the template post can be indicated as content that should change through the generation process.

On a regular basis, Rob Schwartz needs to create a set of 10-50 posts with a little variance between each post. This is quite tedious to do manually, and that’s where the Batch Post plugin comes into play! Using Batch Post, Rob can create a template, indicate where he’d like the title and content to change, specify any meta data (categories, tags, etc.) that should be applied to the batch, and create as many posts as he needs.

Read on! “Batch Post”

Hosting WordPress over HTTPS with Docker

Just the other day, I moved my portfolio to a separate server and started serving it over HTTPS. I was super stoked when it was all done! I wanted to talk a bit about what steps I took, since I found some annoying gotchas along the way. This isn’t a step-by-step tutorial, rather I’m sharing the configurations that finally got it working for me.

Read on! “Hosting WordPress over HTTPS with Docker”

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”