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 PostAdd Custom User Meta Fields to Restrict Content Pro Registration
Restrict Content Pro is my premium content plugin that makes it very easy to sell subscriptions to your WordPress website. It is the plugin that powers the subscription system to this site. This subscribers’s only tutorial is going to walk you through the process of adding new form fields to the registration form, and then [...]
View Post add_action, get_user_meta, restrict content pro, update_user_metaAdd a Agree to Our Terms of Use Field to Restrict Content Pro
Restrict Content Pro, my plugin that allows you to easily run a premium subscription site with WordPress, has a very flexible registration form that is easy to add extra fields to. Want to add a field that stores extra information about the registering user? That’s easy! Want to add a new checkbox that users must [...]
View Post add_action, restrict content proCreating Custom Front End Registration and Login Forms for WordPress
Front end registration and login forms (meaning placed within your site’s pages, and not the default wp-login.php) are one of the elements that really take a site out of the “standard WordPress” zone. With forms that allow your users to signup and login without ever leaving your main site, you provide a much more consistent [...]
View Post forms, login, registration, short codeRetrieve Users Based on Meta Value
Just like the post meta system, WordPress has a powerful user meta system that allows developers to store additional “meta” information about the registered users in the database. This meta information can be just about anything you want it to be, and can serve a variety of purposes. At the time of writing this tutorial, [...]
View Post meta_key, meta_value, users, wpdbWriting Your First WordPress Plugin Part 7 – Final
Part seven of Writing Your First WordPress Plugin concludes the series by demonstrating how to extend the plugin options that I showed you in part 6, and how to use them to control various aspects of your plugin’s output, such as turning it on or off and changing theoutput’s theme. There is not a lot [...]
View Post options, settingsWriting Your First WordPress Plugin Part 6
In part 6 of Writing Your First WordPress Plugin, I’m going to continue where we left off in part 5 and demonstrate how to create your plugin settings form. We will create a complete settings page that allows you to save your plugin options to the database easily from the Settings page that we added [...]
View Post add_options_page, options, register_setting, twitterWriting Your First WordPress Plugin Part 5
In part 5 of Writing Your First WordPress Plugin, I’m going to take you through the process of adding an admin options page to your first WordPress plugin. This options page will allow your user to configure the settings for the plugin very easily. In this case, we’re going to use it to allow the [...]
View Post add_options_page, admin_menu, register_settingAdd Contextual Help Screens to the WordPress 3.3 Help Tab
WordPress 3.3 has a really nice new Help menu that can be used by plugin and theme developers to show a lot of helpful information to the users. It’s very similar to the Contextual Help Tab, but allows much more information to displayed in a more organized fashion. Instead of all content being displayed in [...]
View Post 3.3, add_help_tab, contextual help, help tab, toolbarDisplay Messages in the Dashboard with Admin Notices
Ever noticed the messages WordPress displays when you activate a plugin, or save settings? Or the messages that some plugins show in the dashboard, perhaps notifying you of a missing requirement? These are called Admin Notices and I’m going to show you how to add your own in your plugin or theme. They’re really quite [...]
View Post admin_notices