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 PostUsing Ajax in Your Plugin and WordPress Admin
This video tutorial walks you through the process of using ajax in the WordPress admin within your own plugins. The end result of this tutorial is not a complete plugin, but it does show the entire process, step by step, of how ajax is utilized in the WordPress dashboard.
View Post add_options_page, Ajax, wp_enqueue_script, wp_localize_scriptCreate a Live Search in WordPress with jQuery and Ajax
A live search is a search form that displays the results for your search query as you type. When done right, they can be exceptionally nice to use, and going through the process of building one covers a lot of really important techniques that can be applied to many other areas as well. This in-depth [...]
View Post add_action, Ajax, jquery, search, wp_ajaxWordPress Rewrite API – Part 3
In part 3 of the WordPress Rewrite API series, we will be covering adding custom endpoints to specific places of your blog content. Endpoints are extremely powerful, and in this case, they will allow us to enable AJAX in the default theme WordPress (Twenty Eleven), so that when loading a post or page, it’s all [...]
View Post Abid Omar, Ajax, endpointWrite a “Love It” Plugin with Ajax to Let Users Love Their Favorite Posts / Pages

Everyone is familiar with the “Like” button from Facebook, as well as many of its spin offs from other social networks. In this tutorial, we’re going to create our own version of the “like” button, but it is going to be a “love it” button and also specific to our website. Our plugin is going [...]
View Post Ajax, loveDrag and Drop Order for Plugin Options
The drag and drop method of ordering items in an option table is very popular, and also extremely useful. Rather than forcing users to manually enter “order” numbers to sort items the way they want, they can simply click and drag the items into the desired order. I use drag-and-drop ordering quite a bit in [...]
View Post add_option, add_options_page, Ajax, register_setting, sortable, update_optionProcess Ajax Requests Correctly in WordPress Plugins
WordPress provides a set of great tools for processing ajax requests in plugins (and themes). I’m going to give you a quick example of how these tools can be used to accomplish a variety of tasks. For this example, We’ll just be using some simple alerts, but they will serve very well for demonstration purposes.
View Post Ajax, jqueryPost Data with Ajax in WordPress Pugins
Create an Ajaxified Contact Form Short Code
A very popular feature of many themes is an Ajaxified contact form, often inserted through a shortcode. So I’m going to show you how to create one from scratch as a plugin that can be dropped into any WordPress theme.
View Post Ajax, contact form, short code