Adding new menus, both top level and sub level, to the WordPress Dashboard is a really common task for plugins. Whether it be via a custom post type, a settings page, or even a help page, dashboard menus are often the focus point for plugins from a user perspective, so it’s really important that you [...]
View PostCreating WP List Tables by Hand

The WP List Table is what we call the table of data that is displayed when you click on any post type in WordPress. For example, click on Posts and this will display a table listing all of the posts (or perhaps the latest 20) that you have created in WordPress. In this tutorial, we [...]
View Post wp_list_tableUsing 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_ajaxAdd Comment Status Links to Comments Menu

I have always thought it was a little odd that the Comments menu in the WordPress dashboard did not have any sub menu items. For example, I think it makes sense to include sub menu items for each of the comment status: Approved, Pending, Spam, and Trash. But since WordPress doesn’t include these, it is [...]
View Post commentsLoading Scripts Correctly in the WordPress Admin
There has been a lot of talk over the last two days about loading scripts, particularly jQuery, correctly in WordPress themes and plugins, and anyone who follows me on Twitter probably knows that this is an issue I bring up a lot. When providing support for my plugins, I discover themes (and plugins) that are [...]
View Post admin_enqueue_scripts, jquery, wp_enqueue_script, wp_enqueue_scriptsAdd Screen Options Tab to Your WordPress Plugin

You have probably noticed the Screen Options tab in the top right corner of many WordPress admin pages. This tab brings down a configuration panel that you can generally use to control what elements are displayed on the current amin page. One of the really great things about the Screen Options tab is that which [...]
View Post add_filter, add_screen_option, Chris Marslender, get_current_screenUser Submitted Image Gallery – Part 7
Part 7 of our User Submitted Image Gallery tutorial series is going to demonstrate how to customize the dashboard columns of our image post type, and also how to add a new widget to our dashboard that displays the latest pending image submissions. In this part we are really focusing on two customizations to the [...]
View Post attachment, dashboard, gallery, get_the_term_list, image, widgetRemoving “Restrict This Content” Meta Box in Restrict Content Pro
When using Restrict Content Pro, the “Restrict this Content” meta box is automatically loaded on all registered post types, but sometimes you want to remove it from certain post types. The plugin includes a simple filter that you can use to specify which post types the meta box should not be added displayed on. This [...]
View Post add_filter, meta box, restrict content proUser Submitted Image Gallery – Part 6
Part 6 of User Submitted Image Galleries will show you how to setup the single image page that shows the details for a particular image. This section is not very complex, but it covers a few very important techniques that are really good to know when it comes to modifying information on post templates via [...]
View Post add_action, add_filter, attachment, dashboard, gallery, the_content
