Open oskarrough opened 5 years ago
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.
/wp-json/better-rest-endpoints/v1/post?category=43
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.
wp-json/wp/v2/products?categories=43
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.
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
needs to be enabled?