Skip to content
Enter Search Term
Pattern Lab & Atomic Design For WordPress & Drupal
In which we explore using Atomic Design with Pattern Lab to more efficiently migrate a client’s WordPress website to Drupal, or vice versa.
How to setup a WordPress plugin for Composer with Packagist
Having never submitted a project to packagist the whole process was new to me. After a bit of trial and error, I now have my first publically available package.
How to use OpenID Connect Generic plugin with Drupal
The OpenID Connect Generic plugin was created originally with Drupal 7 in mind. This post describes how to setup both Drupal 7 as an IDP and the WordPress plugin.
OpenID Connect Generic
WordPress plugin for connecting a site to an OAuth 2.0 Identity provider.
This weekend I had some extra time on my hands and decided to checkout Backdrop CMS. Then I wrote a long post about it... sort of
WordPress Widget vs Drupal 8 Block
With the new Drupal 8 Blocks API, WordPress and Drupal are now more similar than not when it comes to Widgets vs Blocks. This post shows examples of each and highlights their similarities and differences.
WordPress Rewrite API Examples
The WordPress Rewrite API can certainly be confusing. This post will look at how rewrites work in general, and provide multiple practical examples (and one very impractical example) of it in action.
Sweet Widget Admin UI
In my continued attempt at making very simple plugins which greatly improve WordPress widgets, this plugin improves the widget editing experience by providing a larger widget editing area.
How to copy a live WordPress site to a local VVV machine
VVV is one of the best environments for WordPress development, but it only comes with a few sites by default. This post will guide you through creating a new local development site on VVV, and (optionally) importing a live site for local development.
Sweet Widget Templates for WordPress
The way WordPress handles the HTML for widgets is clunky, inflexible, and basically wrong. This plugin solves the problem by providing true templates for widgets within your WordPress theme.
How To Disable The WordPress Login Form
There are plenty of reasons you may need to hide the standard WordPress login form. This post shows how to remove the login form from the page completely, while still providing a simple mechanism for accessing the form when needed.
Allow Image HTML tags in WordPress Comments
How to allow your users to place HTML img tags into WordPress comments by hooking into the wp_kses_allowed_html filter. Additionally, this same method can be used to allow other HTML tags into comments.
Simple Read-Only JSON API in WordPress
Class for WordPress that provides a simple JSON api for consumption.
Database interactions with WP_Query and $wpdb
Presentation I gave at WordCamp Asheville in 2015. In which I provide an overview of two different PHP classes for querying the WordPress database: $wpdb for custom queries, and WP_Query() for getting lists of posts.
Dynamically add items to WordPress menus
Often I find the need to dynamically add items to a menu in WordPress based on the current logged in user, or current post being viewed. After a little looking around, I found that the wp_get_nav_menu_items filter holds the key to this challenge.