Display New WordPress Post Without Reloading Page
I am trying to load a new post in wordpress without reloading the entire page. I am not sure where to start with this. I am new to AJAX and JavaScript. Any help would be gr开发者_如何学Goeat.
If you are new to AJAX and javascript, I would start by looking into an AJAX / JavaScript library. Here are a few to look at:
- YUI
- JQuery
- ASP.Net AJAX (plus the AJAXControlToolkit)
Each of these have their own methods of making ajax calls. Start by looking into those methods, and come back to this site when you have more questions.
You can use the XML-RPC Service (Documentation Here) that WordPress supports for posting, editing, and other functionality in combination with one of the AJAX solutions, such as jQuery, that Gabriel mentioned.
If the functionality you want is not supported in WordPress' XML-RPC service, it also supports the Blogger API, metaWeblog API, and the Movable Type API.
精彩评论