Try 'author' => $curauth->ID
instead of 'author_id'=> $curauth->ID
since author_id
is not a valid parameter.
Related Posts:
- Get $curauth level
- wp_list_authors including custom post types
- author.php shows profiles of all users not authors only
- Get author id from url
- Use different template than author.php for get_author_posts_url()
- Displaying Total Author View
- Is there a maximum number of author for a blog?
- Author page from blog post
- How to Modify Author Page for all Users?
- Get $curauth level
- WordPress function that retrieves both posts written by a specific author& posts that contain a tag matching author’s username on author archive page
- Add admin bar link to edit author
- Creating a custom public user page
- Limit the length of the Author Profile Biographical Text
- Author archive only for custom post type
- Show author archive pages for authors with no posts
- Refine custom posts by author
- Authors Page : A page of authors
- How to make an author archive only for certain user role and show related CPT
- resolve /author/ to a page or archive (of all authors) template
- How to display user role
- Get the terms of a custom taxonomy for a specific author in author template
- Showing Author Information and Latest Post by author in lightbox when clicked on the name of the author
- pre_get_posts Tax Query not working for custom author page
- How can I show a custom post type for users in the authors.php file?
- Loop starts from the beginning with second while loop on author.php
- Only display link to author social media when it exists [closed]
- List user comments in author page
- Showing author’s page with no posts
- Show woocommerce products in author archive
- Create template “author” with a plugin
- Author Nickname URL Friendly
- How to display specific posts with WP_Query?
- pass query string on url to filter media
- How to add child page to author.php
- Create Next and Previous Link to User orderby Last Name
- Display Authors in a grid loop
- Proper way to set author pages at root?
- Comments on Author page
- Showing author page if user has no post
- Refine custom posts by author
- Getting author URL outside the loop
- How to pull user/author profile data in a plugin?
- Pagination only won’t work in author template
- Most recent post is missing from Author page
- Author posts not appearing for custom post type
- next_posts_link and previous_posts_link problem
- Author template help. How to check if field exists in the profile?
- Get user posts with custom WP_Query on author.php
- Can I Include author login in post class?
- Get 404 when try open author page
- WooCommerce get_author_posts_url() – Author URL redirecting to shop base
- wp_list_authors() returning the wrong member url
- Author Page Create Link to Page That Lists All Author’s Posts?
- Return subpages of an author if the parent page was published by an other author
- The best way to create pages like an ‘about’, ‘contact’ and etc [closed]
- Hide Author page from others
- Current author archive in navigation menu
- Display more than 10 posts on author.php file
- Get Authors Role
- Sliding-Doors Child Theme
- Display all authors in a theme template
- How do I enforce a specific custom post type on the loop
- Pagination in author, category, archive and tags pages does not work
- Use of antispambot with $curauth->email
- How to have certain WordPress settings set by default on a per author basis
- Check For get_post_meta on Author Archive Page
- WordPress redirect to a subpage – how to create a template for subpage?
- Show all people who commented on all posts by an author
- Theme author.php transfer
- List of all authors avatars
- can’t see information on author page that don’t have posts
- How to fix a specific page (author archive) loading speed?
- User role templates
- How to create many author’s page?
- Return author name as a tag using get_author
- Change author base and slug in author link
- Buddypress profile link on author blogroll page
- Right way to display the_author_meta fields?
- Showing the authors username and bio on custom author.php
- Allowing comments on author pages
- Display content based on Author Custom Post type
- Missing content on author archive page
- Pagination for custom query throws 404 errors on last pages [duplicate]
- Hide page header on both index and author pages [closed]
- Author page link in comments is different than in posts?
- Author template – separate custom post type by custom taxonomy term for $curauth
- Calling a custom profile field only it it exists
- if else for custom $curauth-> field
- Create archives by author role
- Show posts containing or not custom field
- Displaying posts limit: can’t get pagination to display [duplicate]
- Author.php not displaying post type posts
- Which page is referring to *all posts by author*?
- Show the most recent post for an author on the author page
- Customise Author Page?
- author.php get current id of author for advance custom field
- the_author function is displaying wrong name and url
- How to make the Post Author name fixed as “Editorial Staff” even if there are multiple authors?
- Change get_author_posts_url / Author URL via filter