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
.
Related Posts:
- How to add category to: ‘wp-admin/post-new.php’?
- WP Rest API v2 filter and display latest post with specific tag
- WP REST API, query total posts in a category
- Get post from custom REST endpoint in Gutenberg
- WordPress Rest API – Get all posts based on post_meta on custom endpoint
- Disable REST API for a user ROLE
- ping_status in JSON REST API
- WordPress blog posts api – get posts by author
- WP rest api returns 404 only when author param is used
- Exclude posts w/ specific post_meta on Rest API endpoint
- Add ajax load more function using WP API
- Transfer WordPress post to RoR site: is the REST Api the only and/or best solution?
- WordPress REST API not returning all posts
- Exclude post_meta from Rest API Endpoint
- WP Remote Request not returning all of content via request
- How to create a post using REST API with sending data as a JSON body?
- How can I get the media inside a post?
- WordPress Rest API Create Post
- Call Web Services on post first publish
- Getting featured image with PHP and not javascript from wordpress api _embed [closed]
- search blog posts by author first name and or last name
- Creating a WordPress Post via REST API – HTML or Markdown?
- How to get post with associated categories and tags names instead of ids with rest api?
- What date to use as a post date? date_gmt or modified_date_gmt
- Custom wp-query in wordpress rest api
- Filter out posts based on a certain post_meta on the WordPress REST API
- Optimal WP Web App Backend for mobile app development
- Delete Post but retain image of post [WP REST API]
- Pull in posts using post meta for REST API
- Rest API Paginate until all posts are imported
- Add a field in my rest api
- How do I assign an attachment to a post using only the REST API?
- WordPress rest API get Posts parent by post ID
- Updating post status via rest api
- exclude particular category in api
- Weird problem occurs while using WordPress REST API to create new post
- How to set the post permalink using the WordPress REST API?
- How to prevent post update using transition_post_status
- REST API Working for GET but not for POST?
- Loading posts outside wordpress
- How to create REST Based JSON API(how to modify the code below)?
- Best Way to detect unique posts in wp rest api
- WP Rest API feature image breaking react component
- Changes done in admin panel are taking time to reflect in the REST api responses
- Random sort within an already sorted query
- Search by Hyphen
- Display the latest post from a category in a page
- rewind_posts() – what actually the use of it, and where using is required or preferred?
- Exclude posts with specific meta_value while sorting by a separate meta_value
- Problem ordering posts with numbers for titles numerically E.g. 1, 10, 100
- Post in Multiple Categories to stay in current category (permalink, next previous post link)
- Undefined variable post_id in custom quick edit coloumn
- Post preview and oembed provider issue using polylang plugin with subdomains
- How would I get 1 latest post from a query for 5 posts?
- How can I link a CSS file only on single posts?
- add_action not using ‘delete_post’ action with wp_delete_post
- Exclude posts with empty post_content in wp_query
- Exclude posts from featuring
- Diplay comment date on WP_Post_Comments_List_Table
- Enable post revisions for a specific post
- How to get date of post when using wp_get_recent_posts()?
- how can i change WP main archives loop to sort by name or title
- If statement to check if post has image
- Conditionals if tags exist?
- Change default category when I publish a post
- Can’t get full post title if there a spaces in title
- Automatically create a default set of posts for each new registered user
- why the same code got different results when using query_posts in functions.php and index.php
- WP_Query: Show 10 posts in date order, first three random
- WP_Query of Category Not Showing First Post
- content summary of a post disappears If an images added at the beginning of the post. how to solve it?
- Get a post’s ID
- How To Use Custom Fields With .mp3 Links
- how can display a post on home screen without images
- Custom Select Query – Selecting the Year?
- Save / Update meta data as multidimensional array
- WordPress Query – Display 5 posts (same post type), each from a given tag
- Select another post in a post meta like a parent page is selected while editing a page
- Permalink Short code showing unnecessary link text inside the loop
- How to Create another Page Category like the “Post” and “Pages”
- Manual Scheduler For Custom Post Type
- Category posts show on local install, they do not show on live server
- Only show related posts when another post has same term
- single- and archive- templates not being applied to custom post types, not even after flushing permalinks
- Alternating Post Styles on Homepage
- Posts per page, reverse count
- get_the_ID() fails the first time, returns a value the second time it’s called
- How to Test a Blog Post for Update vs. Publish Status — Unique
- Inserting image into post content – Front End
- How to get all the terms of a post
- Commenting on a post from the admin panel?
- How to filter categories of a post
- Columns in a “post”
- Ajax calls in wordpress
- Adding a content rating system
- unable to select “fullwidth” on the POST (not page)
- Cannot Create a new Post [closed]
- Exclude posts by date – related post
- How to update a lot of posts on my WP site with additional content?
- Post pages are redirecting to the 404 page in wordpress