A Creative Approach to Efficient and Scalable WordPress API Endpoints

For starters, it was super tough trying to figure out how to give this post a title. I’ve settled on “A Creative Approach to Efficient and Scalable WordPress API Endpoints” because it seemed to do the topic the most justice.

As WordPress continues to evolve into an application platform, it is being used more and more frequently as the backend to power APIs (REST and (un?)REST alike). You can clearly see this by all the initiative and excitement around the new JSON API that will make it into WordPress at some point in the future. I am excited about where … [continue reading]

Lead Generation with WordPress

I’ve just given a talk at our local WordPress meetup here in Charlotte about lead generation in WordPress.

I love lead generation, and so I prepared a talk about it to our local WordPress meetup. You can find the slides here below.

[continue reading]

2014 Year in Review

2014 has been an incredible year! I want to pause to rejoice, reflect upon and remember all that has happened this past year.

Brian Lowe, the lead pastor at Exodus Church where I attend, preached an excellent sermon on Psalm 48 about the Israelites rejoicing, reflecting upon and remembering all that God had done for them. As I look back at 2014, I want to do the same.

It’s so very easy to look at the year to come and dream about all the exciting things that will happen and forget about the exciting things happened in the year before. … [continue reading]

How to Enable HTTP Strict Transport Security (HSTS) in WordPress

I embarked on moving my site completely to SSL, and part of that process was using the HTTP Strict Transport Security (HSTS) header on the site.

With all of the security breaches that we have seen just this past year, it makes total sense to want to move everything over to SSL. Google is already starting to favor SSL sites in search results, and it provides more confidence for your visitors when they see that your site is secured via SSL.

I had already done 301 redirects from non-SSL to SSL pages on my site, but I wanted to make [continue reading]

How to Hide the WordPress Meta Generator Tag

In this short tutorial, we will learn how to hide the WordPress meta generator tag.

By default, WordPress will output a meta generator tag into the head of your document that displays the current WordPress version number. This can cause some security issues, especially if you are running an old version of WordPress, so you may want to hide the WordPress meta generator tag altogether.

To do this, simply drop the following code into your theme’s functions.php file and viola, the WordPress meta generator tag will be hidden from view.

add_filter( 'the_generator', '__return_false' );

There you have it – you’ve [continue reading]

How to Hide the Admin Bar in WordPress

Let’s dig into how to hide the admin bar in WordPress.

When the admin bar was first introduced, I didn’t particularly care for it. Over time, I have gotten used to it being there and actually enjoy using it, but there are certain situations where hiding the admin bar just makes sense. For example, if you have a membership site that is run on WordPress, your users will likely never need to use the admin bar. In this case (and many others), you will want to hide the admin bar to prevent confusion. There are two ways to do this, … [continue reading]