I wanted to know if there is a way to use function like query_post() in an ajax call ?
Let\'s say i\'m calling the file _inc/ajax.php
I want to be abble to
I highly recommend the JSON API plugin: http://wordpress.org/extend/plugins/json-api/. It provides a RESTful interface for the most common WordPress functions including query_post and allows you to add your own actions.
query_post