WordPress 4.1 hasn’t yet been officially released, but child themes for the new Twenty Fifteen default theme are already popping up. The minimalist, blog-focused theme has so far been well received and users are already eagerly testing it out.
WordPress developer Chris McCoy has created a Twenty Fifteen child theme with a unique twist. At first glance, Five Beers appears to be a colorless variation of the default theme, but under the hood you’ll find a set of powerful AJAX additions.
One of the most impressive features is the way Five Beers handles media display. It incorporates the Strip.js lightbox to slide images and videos out from the side of the page. You can see a live example of it on the Five Beers demo site.
The child theme includes all of the customization options of Twenty Fifteen plus several extra features:
- AJAX Live Search (still working out the bugs)
- AJAX comments
- AJAX archives
- AJAX A-Z Alphabet post loading
- AJAX infinite scrolling with SEO as a factor
- Custom tag page listed by letter
- Lightbox to adapt to galleries and video oEmbeds
- Unlimited widget area creation
Additionally, when you publish a YouTube or Vimeo link, the theme will use the cover image (click to play) as the featured image. If no featured image is set, Five Beers will use a default click to play thumbnail.
Building all of this functionality into the theme is a bit unorthodox, as most theme authors would opt to put these items into separate plugins. I asked McCoy why he opted to do it this way. “I’m trying to keep all functionality as the theme, because I prefer not to use a plugin if I don’t need to,” he said. If you use the theme, you could opt to use McCoy’s Strip Lightbox plugin instead and then simply remove the include in the functions file for the lightbox.php file.
Ultimately, it’s a theme McCoy built for himself one night while having five different brands of beer, hence the unique name. I’d like to see each piece of functionality pulled out and supported as a separate plugin, but this isn’t something he intends to do. McCoy originally planned to create it just for himself but will be adding more features next week.
This child theme is particularly useful if you want to highlight your archived content by including alphabetical sorting and live search, making it easy for users to discover content as they are typing.
Five Beers currently requires WordPress 4.1 Beta 1+ to use until 4.1 is officially released. The WordPress 4.1 project schedule has the release targeted for the week of December 8. McCoy does not plan to add the theme to WordPress.org, as the Strip.js licensing is not supported in the official directory. You can download the Five Beers theme for free on GitHub.