WordPress and Ajax An in-depth guide on using Ajax with WordPress
  • Free Download
    • Free Download
    • Contact / Support
  • Blog
  • Code
  • The Book
    • Book Details
    • Downloadable Code
    • Links
    • The Author
  • Testimonials

Links

Subscribe
  • Acknowledgements

    • Ajax Edit Comments
      Ajax Edit Comments WordPress Plugin
    • Ronald Huereca
      Personal site of Ronald Huereca
    • VG Universe Design
      Web Design business of WPAJAX designer Vivien Anayian
  • Introduction

    • Ajax Programming
      Wikipedia description of Ajax
    • Firebug for Firefox
      Firebug is a great debugging tool for the Firefox browser
    • jQuery JavaScript Library
    • MAMP
      Useful for running WordPress locally on Mac
    • WordPress.org Download
      WordPress download site
    • XAMPP
      Useful for running WordPress locally on Windows
  • Chapter 2 - Adding Scripts Properly

    • add_action
      For registering actions with WordPress
    • apply_filters
      Useful for modifying WordPress text if a filter is being used
    • get_bloginfo
      Useful for getting various blog information for a WordPress site
    • plugins_url
      Useful for getting the WordPress plugin URL for a plugin
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • wp_enqueue_script
      Useful for loading scripts with WordPress
  • Chapter 3 - Localizing Your Scripts

    • add_action
      For registering actions with WordPress
    • l18n for WordPress Developers
      Contains descriptions for __ and _e functions
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • wp_enqueue_script
      Useful for loading scripts with WordPress
    • wp_localize_script
      Useful for adding localizing JavaScript variables
  • Chapter 4 - Adding Styles Properly to WordPress

    • add_action
      For registering actions with WordPress
    • Conditional Comments with wp_enqueue_style
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • wp_enqueue_style
      Useful for loading styles with WordPress
    • wp_register_style
      For registering styles in WordPress
  • Chapter 5 - Page Detection

    • Adding Administration Menus
    • add_action
      For registering actions with WordPress
    • W3 Total Cache WordPress Plugin
      Very useful for caching WordPress sites
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • WordPress Conditional Tags
    • WordPress Shortcode API
    • WP Minify WordPress Plugin
      Useful for compressing and minifying WordPress scripts and styles
    • wp_enqueue_script
      Useful for loading scripts with WordPress
  • Chapter 6 - Loading Techniques

    • add_action
      For registering actions with WordPress
    • remove_action
      For removing existing actions that WordPress has already registered
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • WP PageNavi WordPress Plugin
      Great plugin for changing the navigation links in a WordPress theme
    • wp_enqueue_script
      Useful for loading scripts with WordPress
    • wp_enqueue_style
      Useful for loading styles with WordPress
  • Chapter 7 - Properly Formatting jQuery for WordPress Use

    • add_action
      For registering actions with WordPress
    • jQuery JavaScript Library
    • jQuery noConflict
    • jQuery Plugin Authoring
    • MooTools JavaScript Library
    • Prototype JavaScript Library
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • wp_enqueue_script
      Useful for loading scripts with WordPress
  • Chapter 8 - Nonces and the Escape API

    • check_admin_referer
      Useful for checking nonces
    • check_ajax_referer
      Useful for checking nonces for Ajax use
    • Cross-Site Request Forgery
    • WordPress Data Validation
      Various methods and best practices for performing data cleansing and validation with WordPress
    • WordPress Nonces
    • wp_create_nonce
      For creating a general nonce
    • wp_nonce_field
      For adding a nonce to a Form
    • wp_nonce_url
      For adding a nonce to a URL
    • wp_verify_nonce
      For verifying a WordPress nonce
  • Chapter 9 - Sending Our First Ajax Request

    • add_action
      For registering actions with WordPress
    • jQuery.ajax
      For jQuery Ajax requests
    • jQuery.bind
      For binding events
    • jQuery.each
      For iterating through DOM objects, arrays, and other items
    • jQuery.ready
      For loading jQuery after a page load
    • l18n for WordPress Developers
      Contains descriptions for __ and _e functions
    • load_theme_textdomain
      Useful for localizing a theme
    • site_url
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • WordPress Data Validation
      Various methods and best practices for performing data cleansing and validation with WordPress
    • WordPress Theme Development
    • WP_Ajax_Response
      WP_Ajax_Response – Class for sending Ajax responses
    • wp_count_comments
      Useful for retrieving a comment count
    • wp_enqueue_script
      Useful for loading scripts with WordPress
    • wp_localize_script
      Useful for adding localizing JavaScript variables
    • wp_nonce_field
      For adding a nonce to a Form
    • wp_nonce_url
      For adding a nonce to a URL
  • Chapter 10 - Processing Our First Ajax Request

    • jQuery.ajax
      For jQuery Ajax requests
    • jQuery.each
      For iterating through DOM objects, arrays, and other items
    • jQuery.html
      For clearing or modifying HTML in a DOM element
    • jQuery.ready
      For loading jQuery after a page load
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • WP_Ajax_Response
      WP_Ajax_Response – Class for sending Ajax responses
    • wp_enqueue_script
      Useful for loading scripts with WordPress
    • wp_localize_script
      Useful for adding localizing JavaScript variables
  • Chapter 11 - WordPress and Admin Ajax

    • add_action
      For registering actions with WordPress
    • Ajax in Plugins
      WordPress resource on how to use Ajax in WordPress plugins
    • Determining Plugin and Content Directories
    • jQuery.bind
      For binding events
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • WordPress Data Validation
      Various methods and best practices for performing data cleansing and validation with WordPress
    • wp_ajax action
    • WP_Ajax_Response
      WP_Ajax_Response – Class for sending Ajax responses
    • wp_enqueue_script
      Useful for loading scripts with WordPress
    • wp_nonce_field
      For adding a nonce to a Form
    • wp_nonce_url
      For adding a nonce to a URL
  • Chapter 12 - WP Grins Lite

    • Adding Administration Menus
    • add_action
      For registering actions with WordPress
    • check_admin_referer
      Useful for checking nonces
    • check_ajax_referer
      Useful for checking nonces for Ajax use
    • Conditional Comments with wp_enqueue_style
    • Determining Plugin and Content Directories
    • jQuery.ajax
      For jQuery Ajax requests
    • jQuery.bind
      For binding events
    • jQuery.each
      For iterating through DOM objects, arrays, and other items
    • jQuery.html
      For clearing or modifying HTML in a DOM element
    • jQuery.ready
      For loading jQuery after a page load
    • l18n for WordPress Developers
      Contains descriptions for __ and _e functions
    • update_option
      For storing options in the WordPress options table
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • WordPress Conditional Tags
    • WordPress Data Validation
      Various methods and best practices for performing data cleansing and validation with WordPress
    • WordPress Template Tags
      Template tags you can include in a WordPress Theme
    • WP Grins Lite
      WP Grins Lite WordPress Plugin
    • wp_ajax action
    • wp_enqueue_script
      Useful for loading scripts with WordPress
    • wp_enqueue_style
      Useful for loading styles with WordPress
    • wp_localize_script
      Useful for adding localizing JavaScript variables
  • Chapter 13 - Static Random Posts

    • Adding Administration Menus
    • add_action
      For registering actions with WordPress
    • check_admin_referer
      Useful for checking nonces
    • check_ajax_referer
      Useful for checking nonces for Ajax use
    • current_user_can
      Useful function for determining privileges for users
    • Determining Plugin and Content Directories
    • get_categories
      Useful for retrieving a list of categories
    • get_posts
      Useful for retrieving a list of posts programatically and creating custom loops
    • is_active_widget
      Determine if a widget is active on a site or not
    • jQuery.ajax
      For jQuery Ajax requests
    • jQuery.bind
      For binding events
    • jQuery.each
      For iterating through DOM objects, arrays, and other items
    • jQuery.html
      For clearing or modifying HTML in a DOM element
    • jQuery.ready
      For loading jQuery after a page load
    • load_text_domain
      Useful for localizing a WordPress plugin
    • register_sidebar
      For registering a sidebar with a theme
    • Static Random Posts WordPress Plugin (Widget)
    • update_option
      For storing options in the WordPress options table
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • WordPress Conditional Tags
    • WordPress Data Validation
      Various methods and best practices for performing data cleansing and validation with WordPress
    • WordPress Widgets API
    • wp_ajax action
    • WP_Ajax_Response
      WP_Ajax_Response – Class for sending Ajax responses
    • wp_enqueue_script
      Useful for loading scripts with WordPress
    • wp_localize_script
      Useful for adding localizing JavaScript variables
    • wp_nonce_field
      For adding a nonce to a Form
    • wp_nonce_url
      For adding a nonce to a URL
    • wp_parse_args
  • Chapter 14 - Ajax Registration Form

    • add_action
      For registering actions with WordPress
    • check_admin_referer
      Useful for checking nonces
    • check_ajax_referer
      Useful for checking nonces for Ajax use
    • current_user_can
      Useful function for determining privileges for users
    • delete_post_meta
      For removing extra post information
    • Determining Plugin and Content Directories
    • email_exists
    • get_post_meta
      For retrieving extra post information
    • is_email
    • jQuery.addClass
      For adding a class value to a DOM element
    • jQuery.ajax
      For jQuery Ajax requests
    • jQuery.attr
      For modifying an attribute using jQuery
    • jQuery.each
      For iterating through DOM objects, arrays, and other items
    • jQuery.html
      For clearing or modifying HTML in a DOM element
    • jQuery.param
      For parsing a jQuery array into a string that can be used for Ajax calls
    • jQuery.post
      For jQuery Ajax calls (using the POST technique)
    • jQuery.ready
      For loading jQuery after a page load
    • jQuery.removeAttr
      For removing attributes for a DOM element
    • jQuery.removeClass
      For removing a class value in a DOM element
    • jQuery.serializeArray
      For serialzing various form inputs into an array
    • sanitize_user
      For sanitizing user names
    • update_option
      For storing options in the WordPress options table
    • update_post_meta
      For adding/updating extra post information
    • username_exists
    • validate_username
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • WordPress Conditional Tags
    • WordPress Data Validation
      Various methods and best practices for performing data cleansing and validation with WordPress
    • WordPress Shortcode API
    • wp_ajax action
    • WP_Ajax_Response
      WP_Ajax_Response – Class for sending Ajax responses
    • wp_enqueue_script
      Useful for loading scripts with WordPress
    • wp_enqueue_style
      Useful for loading styles with WordPress
    • WP_Error
      For adding custom error messages to a WordPress plugin or theme
    • wp_generate_password
      Generates a new password that can be used for a user
    • wp_insert_user
      Inserts a new user for a WordPress site
    • wp_localize_script
      Useful for adding localizing JavaScript variables
    • wp_new_user_notification
      Sends an e-mail to a new user of a site with their login credentials
    • wp_nonce_field
      For adding a nonce to a Form
    • wp_nonce_url
      For adding a nonce to a URL
    • wp_parse_args
  • General Links

    • Ajax Edit Comments
      Ajax Edit Comments WordPress Plugin
    • Ajax Programming
      Wikipedia description of Ajax
    • Conditional Comments with wp_enqueue_style
    • Cross-Site Request Forgery
    • Firebug for Firefox
      Firebug is a great debugging tool for the Firefox browser
    • jQuery JavaScript Library
    • MAMP
      Useful for running WordPress locally on Mac
    • MooTools JavaScript Library
    • Prototype JavaScript Library
    • Ronald Huereca
      Personal site of Ronald Huereca
    • Static Random Posts WordPress Plugin (Widget)
    • VG Universe Design
      Web Design business of WPAJAX designer Vivien Anayian
    • W3 Total Cache WordPress Plugin
      Very useful for caching WordPress sites
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • WordPress.org Download
      WordPress download site
    • WP Grins Lite
      WP Grins Lite WordPress Plugin
    • WP Minify WordPress Plugin
      Useful for compressing and minifying WordPress scripts and styles
    • WP PageNavi WordPress Plugin
      Great plugin for changing the navigation links in a WordPress theme
    • XAMPP
      Useful for running WordPress locally on Windows
  • jQuery API

    • jQuery noConflict
    • jQuery Plugin Authoring
    • jQuery.addClass
      For adding a class value to a DOM element
    • jQuery.ajax
      For jQuery Ajax requests
    • jQuery.attr
      For modifying an attribute using jQuery
    • jQuery.bind
      For binding events
    • jQuery.each
      For iterating through DOM objects, arrays, and other items
    • jQuery.html
      For clearing or modifying HTML in a DOM element
    • jQuery.param
      For parsing a jQuery array into a string that can be used for Ajax calls
    • jQuery.post
      For jQuery Ajax calls (using the POST technique)
    • jQuery.ready
      For loading jQuery after a page load
    • jQuery.removeAttr
      For removing attributes for a DOM element
    • jQuery.removeClass
      For removing a class value in a DOM element
    • jQuery.serializeArray
      For serialzing various form inputs into an array
  • WordPress Functions

    • add_action
      For registering actions with WordPress
    • apply_filters
      Useful for modifying WordPress text if a filter is being used
    • check_admin_referer
      Useful for checking nonces
    • check_ajax_referer
      Useful for checking nonces for Ajax use
    • current_user_can
      Useful function for determining privileges for users
    • delete_post_meta
      For removing extra post information
    • email_exists
    • get_bloginfo
      Useful for getting various blog information for a WordPress site
    • get_categories
      Useful for retrieving a list of categories
    • get_posts
      Useful for retrieving a list of posts programatically and creating custom loops
    • get_post_meta
      For retrieving extra post information
    • is_active_widget
      Determine if a widget is active on a site or not
    • is_email
    • load_text_domain
      Useful for localizing a WordPress plugin
    • load_theme_textdomain
      Useful for localizing a theme
    • plugins_url
      Useful for getting the WordPress plugin URL for a plugin
    • register_sidebar
      For registering a sidebar with a theme
    • remove_action
      For removing existing actions that WordPress has already registered
    • sanitize_user
      For sanitizing user names
    • site_url
    • update_option
      For storing options in the WordPress options table
    • update_post_meta
      For adding/updating extra post information
    • username_exists
    • validate_username
    • WP_Ajax_Response
      WP_Ajax_Response – Class for sending Ajax responses
    • wp_count_comments
      Useful for retrieving a comment count
    • wp_create_nonce
      For creating a general nonce
    • wp_enqueue_script
      Useful for loading scripts with WordPress
    • wp_enqueue_style
      Useful for loading styles with WordPress
    • WP_Error
      For adding custom error messages to a WordPress plugin or theme
    • wp_generate_password
      Generates a new password that can be used for a user
    • wp_insert_user
      Inserts a new user for a WordPress site
    • wp_localize_script
      Useful for adding localizing JavaScript variables
    • wp_new_user_notification
      Sends an e-mail to a new user of a site with their login credentials
    • wp_nonce_field
      For adding a nonce to a Form
    • wp_nonce_url
      For adding a nonce to a URL
    • wp_parse_args
    • wp_register_style
      For registering styles in WordPress
    • wp_verify_nonce
      For verifying a WordPress nonce
  • WordPress Resource

    • Adding Administration Menus
    • Ajax in Plugins
      WordPress resource on how to use Ajax in WordPress plugins
    • Determining Plugin and Content Directories
    • l18n for WordPress Developers
      Contains descriptions for __ and _e functions
    • WordPress Action Reference
      Contains descriptions for all of the various actions described in the book.
    • WordPress Conditional Tags
    • WordPress Data Validation
      Various methods and best practices for performing data cleansing and validation with WordPress
    • WordPress Nonces
    • WordPress Shortcode API
    • WordPress Template Tags
      Template tags you can include in a WordPress Theme
    • WordPress Theme Development
    • WordPress Widgets API
    • wp_ajax action

Free Download

  • Free Download
  • Downloadable Code
  • Print Version (Amazon.com)

From the Blog

  • Removing All Dashboard Widgets
  • A Custom the_content Filter
  • Easy Lazy Loading Via Ajax
  • Delete Cron Jobs from WordPress
  • WordPress Multisite Explained

Enjoy the Free Book

Enjoy the free book because of these people:
  • All previous purchasers (THANK YOU)
  • VG Universe Design
  • WebDesign.com
  • WebDevStudios
  • WPCandy

The Author

People describe Ronald Huereca as a highly opinionated (and sometimes funny) writer.

He's worked with WordPress since 2006 and has released several WordPress plugins.

© 2013 WordPress and Ajax. All Rights Reserved.

Powered by WordPress. Designed by Woo Themes