better-rest-endpoints
better-rest-endpoints copied to clipboard
Custom post type by taxonomy
I see that you can query posts by category with /wp-json/better-rest-endpoints/v1/post?category=43. But it does not seem to work for custom post type.
I know wp-json/wp/v2/products?categories=43 works but then you don't have the benefit of the nicely formatted response by your plugin.
Maybe
category id (int)
category_name (string)
needs to be enabled?
This returns the data nicely but does not return the yoast data of the category. The same goes for the tag as well.
This is very crucial from SEO point of view.