return content section as json in wp rest api v1

You can (and you should) always filter the output of WP_REST_API. add_filter(‘json_prepare_post’, ‘change_this_into_a_proper_function_name’, 999); function change_this_into_a_proper_function_name($post){ // hack and slash into your $post here. This is a regular WP_Post // add custom fields and tax terms you might need, remove what // you don’t want to expose to app or are never going to need… … Read more

Combining results from WP-API using AngularJS

I’ll assume the html you posted is a template that is part of a theme or plugin where you can interact with the page loading routines. You do not need to load jQuery, it is already loaded by WordPress. Instead, you should leverage the script loading system. The third parameter in wp_enqueue_script states dependencies: my-app … Read more