Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 873 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 873 Bytes

WP AJAX Examples

Written for Blair Williams's SLC WordCamp 2013 talk 'Using AJAX in WordPress'.

Slides are available for this talk at: http://blairwilliams.com/slcwc2013

Examples

Admin (examples/AjexAdmin.php)

This example illustrates how you'd go about putting together some dynamic AJAX based user interfaces on the back end of WordPress.

This example shows how to put together a simple, dynamic list. Items in this list can be added, edited, and removed without submitting any kind of form post.

Front-End (examples/AjexFrontEnd.php)

This example illustrates how you'd go about putting together some dynamic AJAX based user interfaces on the front end of WordPress.

This example creates a simple shortcode that, when placed on a page loads up the appropriate scripts and pulls the information directly from the database to display.