hybrid icon indicating copy to clipboard operation
hybrid copied to clipboard

Multiple Custom Posts type

Open Mte90 opened this issue 9 years ago • 5 comments

I'm trying with public.customPosts({slug: 'posttype1,posttype2'}) to get a multiple post types list but don't work.

Mte90 avatar Dec 17 '15 14:12 Mte90

It is one type per page at this point.

shprink avatar Dec 17 '15 14:12 shprink

What is the use case?

shprink avatar Dec 17 '15 14:12 shprink

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.

Mte90 avatar Dec 17 '15 14:12 Mte90

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

shprink avatar Dec 17 '15 14:12 shprink

Maybe using the search endpoint instead

shprink avatar Dec 17 '15 14:12 shprink