I wanted a simple way to take payments, and to show the payment form in a modal window.

I created a shortcode that displays a button, that then displays any external URL in a modal when clicked.

Read More

When your site goes into maintenance mode during plugin and theme updates, WordPress loads a default page that is VERY basic and not very attractive or professional.

You can control the look and feel of your WordPress maintenance mode page by creating a custom “maintenance.php” file that includes your branding, relevant images and contact details.

Read More

To further reduce Gravity Forms spam submissions, you maintain a list of spammy words in your Disallowed Comment Keys field and check all form entries against this list, using the custom code provided in your theme’s functions.php file.

Read More

I’ve been trying to create the perfect blog URL structure that appeals to my sense of order for more than 7 years. And I finally discovered the last piece of the puzzle.

It’s time to lay out my entire solution for you, including examples.

Read More

I recently discovered that my username was being exposed in the WordPress classes for comments as comment-author-[myusername] and being scraped and abused by some sharp spammers. Here’s how I fixed the issue.

Read More

I’m working on a site where I want to pull out just one single category of blog post, “Case Studies”, into its own URL structure, so I can see how this category of content is performing in Analytics, and also to send a signal to Google about the importance of this content to this website.

Initially I used a plugin, but there were a few issues with this option so I decided to create a solution in PHP instead.

Read More