hybrid
hybrid copied to clipboard
Multiple Custom Posts type
I'm trying with public.customPosts({slug: 'posttype1,posttype2'})
to get a multiple post types list but don't work.
It is one type per page at this point.
What is the use case?
In my case I have two post type for two types of specific palaces and in the site I show they together and i want the same in the app.
Ok, I am not sure the WP-API allow that, can you check? If it is possible then I will implement that in https://github.com/shprink/wp-api-angularjs
thanks
Maybe using the search endpoint instead