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.
This is a continuation from Part 1. You should probably read the previous post before reading this one. All of the disclaimers and warnings at the beginning of Part 1 apply here.
Go ahead and jump to Step 1 via the following:
$ git reset --hard step-1
In the previous step we laid out the data types that the BasicBot struct would need to function properly. Now, we’ll lay out the behavior for the bot. To do that we’ll start by filling out the TwitchBot interface.
For those that are unfamiliar, Twitch.tv is a live-streaming platform for all things creative and related to games. Not necessarily just video games. Content creators play board games, roll-play games (e.g. Dungeons & Dragons), and everything in between. On this platform, streamers are able to interact with a live chat room just for their channel (with a delay).
To facilitate the streamer and chat interaction, Twitch uses a variant of IRC, and provides documentation for their implementation on their Twitch Developers page. This allows developers to create chat bots that can moderate chat rooms, interact with chatters, and automate certain tasks for streamers. There are several well known ones, with many features, but the chat bot built in this walkthrough won’t be as complex.
The Parsedown Importer plugin allows administrators to import Markdown files into posts and pages. In addition to a helpful interface, the importer provides a series of settings to control how the posts or pages are created.
Ambient Weaver is an ambient sound player for macOS 10.12.2+ and Windows 10. The core mechanics of the player include the ability to create playlists which contain customizable sound tracks. Each track has controls for volume, a starting point, and whether or not the track should repeat. Normal audio players, designed for non-ambient songs, run one track at a time. When those players are used for ambient sounds, there are always momentary breaks in the sound that can break the listener’s concentration. That is the nature of having one playback loop. Ambient Weaver gives each track it’s own loop. This allows for tracks to be overlain in a way that masks the momentary breaks, creating a seamless listening experience.
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!
When I first started figuring out the key features that I really wanted to include in my portfolio theme, among them were a way to display my work in a simplified format. I needed support for a featured image, a title, and a brief blurb regarding the project. So, I created the ft_project shortcode.