The shortest possible answer would be to correct ‘post_author’ to ‘author’, since that is the key WP is looking for. If a key is incorrect or misspelled it will be ignored, as was the case with ‘post_author’.
Related Posts:
- remove post and categories/tags count from right now dashboard widget
- How to get post ID of the current page/post inside a widget?
- How To Disable (or Remove) “All Posts, Published, and Trash” in Dashboard Posts
- Hook that get’s triggered when the author of a post is changed
- the_author() returns empty string
- Prevent Authors from viewing each others Posts
- Display Random Author with Details in Sidebar
- How to show list of posts by author and category?
- WordPress: How to get the current logged in author page URL?
- How to Arrange Posts by Size in the WordPress Dashboard?
- How to add editor’s name to entry meta byline?
- Different permalink for posts and authors
- How to display posts by current user/author in a custom page template?
- Query posts distinct authors
- Restrict the Number of Posts an Author can Publish (over time)?
- widget should display post archive by year and on click also by month
- Search posts by post author name
- Get the user type of an author
- Show the title of the latest post by author
- Find most recent authors
- Show author post count in sidebar – Variable
- Get current users post URL?
- Get the author of the latest revision
- Filter posts by author and category simultaneously
- Custom Post Type & Author not associating, user post count is 0, api doesn’t return author in post objects
- Guest Author – How to modify my custom function code if the guest author URL will follow a particular pattern/format?
- Which file displays the date archive?
- Post author is changed to admin after his post is modified by admin
- How can I control multiple editing of wordpress posts?
- Multiple authors for single post without plugin
- Limit number of posts a user can make per minute?
- Authors in menu, template list post by author
- Show the author’s count of total amount of posts assign to a custom taxonomy term
- Author must complete profile info before they can publish a post?
- WP rest api returns 404 only when author param is used
- How can I list random authors from current post category?
- Displaying a widget only on long posts (over X characters)
- How can I display widget in a Page or Post?
- How can I show wordpress posts based on author?
- Show info to author only
- Auto “expire” all of an authors posts on spcific date
- How to get the user meta data for a post?
- Dashboard :10 Last draft page and 10 last pending review page (metabox)
- Limit posts per author role (excluding admin) in home page
- Guest Author – How to display posts on /author/ archive page
- How can I show many posts an author has per week?
- How to give capability (publish contributors posts) to author role?
- Ajax load more button in Recent posts widget
- I want to display custom text widgets for each post in the sidebar?
- WordPress’ ALL post count info on its dashboard does not match phpMyAdmin’s ALL post count!
- Whitelist Author of Private Post
- Show posts by a custom post author
- After database migration, posts not showing up in dashboard
- Getting the current author (it has changed) of a post, not the original author
- Showing author page if user has no post
- Display Notification Bar on Header on Certain Post Count
- How do I retrieve a users’ last 5 posts?
- obtain the author id given the post id
- Show comment number per author per day
- Get all comments of author’s posts
- (solved) getting post author’s user role
- Develop Admin Panel Page
- Change all author links in Blog roll
- Display author’s name and avatar in post’s sidebar
- How do you change the comment count in the back end posts list, to reflect unapproved comments, rather than all comments?
- Widget that shows categories with posts numbers
- static landing page leading to author specific pages w/ “live” content
- If contributor has published 2 or more posts then show otherwise hide
- All Posts Linking to Author Posts directly
- Getting Duplicate Posts on Home Page with Widget Added Between Posts
- Change post author without using wp_update_post()
- Is it possible to lock all new and existing WordPress posts to one specific author?
- Display current post position in Elementor Posts widget
- How to get the ability to change the author of a post
- Echo Text If User Is Logged in But NOT the Author of post
- Only allow posts with a specific term to only be viewed by other authors with the same term in their post
- Custom posts listing widget always returns 1 extra result
- Need to know custom code to display random and most viewed posts in wordpress posts and pages
- How to limit author related post listing ?
- Restrict displaying posts to the poster itself (in Back-end)
- Get total post from an author
- Load widget only on blog posts
- Send email to author of post on post submission
- How can I set a maximum allowed post size and number of posts submitted?
- Get x recent posts by author?
- Change Author Name to Sitename on Frontend
- Exclude a category of posts in author template
- Get latest author posts inside the loop
- Author Avatar as default first image
- Widget to show posts in the sidebar basing on its IDs
- Cannot select certain authors for posts after import
- Display message depending on capability outside loop
- How do I disable the “by author” hyperlink on posts?
- Authors’ Links on Homepage Not Going to Author Post Pages
- Send email to admin with post author
- adding my posts (author posts) in menu
- Prevent 404 of Author pages without posts
- I want to add another search box on posts page in dashboard
- How to show multiple posts thumbnail, title and date in widget
- Move position in post list for a custom checkbox column