I have modified the ajax.php to use custom post type.
All is working but only the post is not listed under selected category. The category for example 'status' get published (inserted) but shows 0 post.
Take a look a the code at pastebin http://pastebin.com/X5SJW1T2
Note: See from line 209-244
Your help will be much appreciated