Skip to content
Daggerhart Lab Blog
Enter Search Term
Introduction to WordPress Plugin Development
This is a presentation I gave at WordCamp Asheville 2014, meant to teach new developers to create WordPress plugins. It focuses on setting up a new plugin project, and exploring different WordPress hooks.
Remove “Reply To:” from bbPress Reply Titles
bbPress prepends the string "Reply To:" to the beginning of a reply's topic title. This post shows how you can remove that prepended text using bbPress hooks.
bbPress Recent Replies Shortcode
This shortcode provides a simple way to show a list of recent replies on your bbPress forum. It has some arguments for flexibility, and separates logic from display by providing a distinct template function.
Unlimited Fields Remove
Drupal 7 did the much-needed job of bringing CCK fields into core, but forgot an important piece of the user experience when they did not include a button to easily delete field values. This experimental module provides that missing UX.
Paired with Elysia Cron this experimental module can be configured to send email reports consisting of subsets of watchdog log messages.
Views JS Load
This simple module allows the site admin to choose to load views dynamically with ajax, as opposed to being rendered directly on the page. This is very useful when dealing with caching such as varnish.
Custom Batch Processes
A module that attempts to simplify the creation of a custom Drupal 6 batch process.
Custom Query Wrangler Field
A simple example for adding a custom Field to Query Wrangler as its own plugin.
Widget Wrangler is a full-featured widget management system for Wordpress. Using Wordpress's native WYSIWYG, create your widget content exactly as you want it to appear without having to know HTML or CSS.
This plugin provides a user interface for creating WordPress queries (WP_Query), and determining how they will appear. Each query is available as a WordPress widget and a shortcode for easy implementation.
A Very Introduction to Drupal’s hook_form_alter()
Very basic example of a drupal module that works in both Drupal 6 and Drupal 7.
Ajax Comment Pagination & Overriding Default Views as a Feature
This post describes generally how to create ajax paging comments, how to package the created comments into a feature, and how to override default views created by modules.
How to modify a new Drupal 6 user programmatically
There are many things you may want to do to a new user on your Drupal website. You may want to apply a new role, require approval, or even programmatically create node with the new user as the author.
Custom caching in your Drupal module
Recently I needed to implement caching for a custom Drupal module. I needed my module to cache exactly every 30 minutes on the hour and half-hour.