An Interest In:
Web News this Week
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
- April 11, 2024
October 28, 2013 07:03 pm GMT
Original Link: http://vandelaydesign.com/blog/design/delete-a-wordpress-post-using-ajax/
Delete A WordPress Post Using AJAX
AJAX is an extremely powerful tool for bridging the gap between your server side code and your client-side code. It enables you to not only make better interfaces and more useful tools, but to lower your bandwidth usage and optimize your code while you're at it.
While AJAX can be implemented freely anywhere, WordPress has built-in support for it, and there is a standard way to use it in your themes and plugins. Let's take a look at the steps necessary to get going with AJAX.
The AJAX Flow
As you may well know, to create something useful using AJAX you'll need a few things:
- An action which triggers the call
- An AJAX call
- Server side code which is executed
- Javascript code which processes the result
Not all these steps are required all the time, but in general this is how it goes. Let's continue by thinking up a scenario where AJAX would be useful.
Original Link: http://vandelaydesign.com/blog/design/delete-a-wordpress-post-using-ajax/
Share this article:
Tweet
View Full Article
Vandelay Design
Vandelay Website Design exists to help businesses and organizations build a stronger presence online.More About this Source Visit Vandelay Design