Custom Post Type posts missing from co-author archive
-
I have installed version 3.2.2 of Co-Authors Plus.
I have created a custom post type that supports
author
. With Co-Authors Plus activated, I can set a guest author on a new CPT post and the author name is correctly displayed on single pages when the post is rendered.When I browse to /author/guest-author-name, instead of showing the author’s CPT posts, I get a 404 error.
If I create a new (standard) post and assign the same guest author as above, that post is returned when I browse to /authors/guest-author-name, but the custom post type post is not.
Repro Steps:
- Create a new, empty site
- Register a “Writing” custom post type that includes
author
in thesupports
array - Install and activate Co-Authors Plus
- Create a new Guest Author named “Boris Nikolaevich”
- Create a new Writing and assign Boris Nikolaevich as the author
- Create a new Post and assign Boris Nikolaevich as the guest author
- Browse to /author/boris-nikolaevich
Expected Behavior:
- Both posts are shown
Actual Behavior:
- The Writing post is not shown
Bonus problem:
- Delete the Post (or remove Boris Nikolaevich as an author)
- Return to /author/boris-nikolaevich
Expected Behavior:
- Some messaging to indicate that the author has no posts
Actual Behavior:
- 404
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Post Type posts missing from co-author archive’ is closed to new replies.