Get more than one author’s posts with REST API

The author parameter in your request, seems to be mapped to the author__in parameter in WP_Query that runs behind the rest-api call here, where a comma separated input: /wp-json/wp/v2/posts?author=1,5 is translated to an array( 1,5 ) input for author__in.

Custom Post Archive Page not working

If you are wanting to see the archive of you custom posts the archive will be: archive-vendorpost.php When you switch to a category there is a separate template wordpress uses: taxonomy-vendorpost_category.php Remember also, that you’ll need to visit the permalinks page to reset them after as your code doesn’t do that for you. I’ve tested … Read more

Exclude post_meta from Rest API Endpoint

Yes, it’s surely possible, but not out-of-the-box. I.e. There’s no such REST query parameter in the WordPress core, but you can add it to your REST API request, e.g. via the URL query string, and then use the rest_<post type>_query hook which “Filters WP_Query arguments when querying posts via the REST API” and “Enables adding … Read more