Configuring field encryption in Drupal 8 is relatively easy, but requires the use of many small modules each with their own purpose and configuration. This post covers everything you need to know to get started.
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.
As a follow up to my earlier post, I wanted to show how to greatly improve the usefulness of the function by changing it to a class with distinct methods, and in the process reduce the previous approach’s shortcomings.
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.
Sometimes you find yourself needing to write a very simple php template function. Maybe you’re working on a very simple script, or in a CMS that doesn’t provide much in the way of template organization or overriding.
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.
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.
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.
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.
Relating images to taxonomy terms is a common problem I’ve run into when building WordPress sites. To do it completely and effectively it requires the use of multiple hooks, and a non-trivial amount of logic.
How to use the entity api’s entity_metadata_wrapper() to send invitation emails provided by the invite_by_email module. This approach can easily be setup as a custom rule action to provide significant flexibility.