shahin8r / comments-posts-wp-api

WP plugin that plugs comments data into the /posts endpoint in WordPress JSON API (WP-API)
MIT License
3 stars 1 forks source link

does not work with category requests #1

Closed sirMuffles91 closed 9 years ago

sirMuffles91 commented 9 years ago

Hey this is a very awesome plugin and it solved the comment problem on getting comments from all posts but it does not seem to include comments when making a call for a specific category, such as: http://www.example.com/tna_wp/wp-json/posts?filter[category_name]=example&withcomments

shahin8r commented 9 years ago

Glad you liked it. :)

Just tested it on a local site and for me it's working fine with /wp-json/posts?filter[category_name]=test&withcomments.

image

What version of Wordpress and the WP API plugin are you using?