What code do I have to add to make a post loaded via ajax editable with Front End Editor?
In my ajax.php file I have added the wp-blog-header which should load the plugin but it does not seem to do anything with the standard wp loop that follows.
define('WP_USE_THEMES', false);
require('../../../wp-blog-header.php');
header("HTTP/1.1 200 OK");
do_action('template_redirect');
query_posts(array('p'=>$_POST['postid']));
if (have_posts()) : while (have_posts()) : the_post(); ?>
........
Thanks a lot in advance