This part of the User Follow System tutorial series will focus on writing the necessary javascript for trigger the follow/unfollow actions. When a follow or unfollow link is clicked, the javascript will trigger an ajax action that then talks to the server and tells it which user is being followed or unfollowed, and which user [...]
View PostUser Follow System Part 4
In this part of the User Follow System tutorial series, we will be writing our function to display follow / unfollow links.
View PostQuerying Comments with WP_Comment_Query and Meta Query in 3.5
WordPress 3.5 has introduced meta queries for the WP_Comment_Query class, which allows us to retrieve comments from the database that have specific meta values and/or keys attached to theme, just like we have been able to do with posts since 3.2.
View Post add_comment_meta, delete_comment_meta, get_comments, meta_query, update_comment_meta, wp_comment_queryBuild a Search Logging Plugin
Knowing what your users are searching for can be extremely useful and important. In this members-only tutorial we’re going to look at how to create a simple search logging plugin that will record every search query performed on your site. We will be using the WP_Logging class that I released a week or two ago [...]
View Post search, template_redirect, WP_LoggingStripe Integration Part 8 – Working with Invoices

The Stripe invoice system allows us to easily add charges to our existing customers subscriptions, such as one time sign up fees, extra monthly charges for new features, or anything else. Just like every other feature in the Stripe API, it’s extremely simple to use, and in this part of the Stripe Integration tutorial series [...]
View Post StripeWP_Logging – A General Use Logging System for WordPress
WP_Logging is a general use logging system that I have written for WordPress. It was first written for my Easy Digital Downloads but I have adapted it for general use. The main idea behind the class it to provide a simple solution for logging events, actions, errors, etc, inside of your WordPress plugins or themes.
View Post WP_LoggingUser Follow System – Part 3
In the previous part of Creating a User Follow System, we looked at the basic shell functions that we need to write for our plugin to function. Now we are going to get into actually writing those functions. We will go one by one and write each one from scratch. Also note that we will [...]
View Post get_user_meta, update_user_metaUser Follow System – Part 2
Part 1 of the User Follow System series looked at laying out the main structure of the plugin. For part 2, we’re going to continue that and lay out the main skeleton functions that we need for our plugin. These will include the functions for following a user, unfollowing a user, checking if a user [...]
View Post add_user_meta, add_user_option, get_user_meta, get_user_option, update_user_meta, update_user_optionWriting a Simple Google Maps Short Code

In this advanced tutorial we’re going to walk through the process of creating a simple short code to display Google Maps. The concept is simple, but we’ll be using advanced techniques and tools for displaying our maps. All maps will be cached using transients and all requests to Google’s API services will be done with [...]
View Post get_transient, Google Maps, set_transient, wp_remote_get, wp_remote_retrieve_bodyStripe Integration Part 7 – Creating and Storing Customers

The Stripe customer system let’s us keep track of people that have signed up for our subscriptions or purchased our products. Anytime a user signs up for a subscription, a customer is created for them in Stripe. Once a customer has been created, we can see all payments that customer has made, add or subtract [...]
View Post Stripe