Retrieving post data using jQuery's ajax request
-
Is it possible? Something like:
$.ajax({ url: "https://my.wordpress.site/some-post/", method: 'get', dataType: 'json' });
And get in return JSON file with some data, like in example: post_id, post_parent, slug etc.
- The topic ‘Retrieving post data using jQuery's ajax request’ is closed to new replies.