Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom post type by taxonomy #34

Open
oskarrough opened this issue Mar 23, 2019 · 1 comment
Open

Custom post type by taxonomy #34

oskarrough opened this issue Mar 23, 2019 · 1 comment

Comments

@oskarrough
Copy link

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?

@coderbhaai
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants