EDIT BUTTON IN POSTS AND MODIFY THE CONTECT WITH JQUERY DIRECTLY IN VIEW MODE

[Total: 1    Average: 4/5]

WordPress is a powerful tool but it seems that is missing one important thing: how to modify in the post and title and content with jquery without to click on the button “Edit Post”. Open “Edit post” is very slow because it loads an entire new page.

To achieve this goal I modified my wordpress theme adding the follow button “Edit” in the posts:

 

clicking on this button the follow green form appear using jquery:

From the form the title and the content can be easily modified. Once saved the content is already updated in the page and the page doesn’t need to be loaded. 

 

This can save a lot of time when a fast modification in the title and content is necessary.

Download file modified
edit_jquery_wordpress
 
Save_Post.php
 
jquery_posts_modifications.js
 
single.php