-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If first post on an author archive has multiple authors, the archive's heading displays both authors' bios. #1539
Comments
Should I show only 1 author? Is it the owner of the author's page? I would like to help you with this, but I would need a copy of that site to have a real environment, if possible. |
The author that should be displayed in this area is the author for the archive page. I can't give you a copy of that site's database, but you could replicate the issue by:
|
Commit! |
2fcd2a1 prevents the additional author from being output in each story's byline, which does not address this issue. I admit that I didn't describe this issue as fully as could have been done. The problem is that there are two authors' biographical information being output at the top of the post archive by the Largo Author Widget's code, when there should only be one because this is a single-author archive. The archive template calls the Largo Author Widget: https:/INN/largo/blob/72cc8433a1be1de4f22789e1ec89496d54a653d9/archive.php#L97-L99 Which in turn loops over the list of authors in the current post in The Loop. Because the current post in the Loop may have more than one author, in situations where the current post in the Loop has more than one author, the widget outputs both authors' bio instead of outputting only the bio for the author whose archive page is being viewed. It should output only the bio for the author whose archive page is being viewed. |
This reverts commit 2fcd2a1. Per #1541 (comment), this fix should not be merged into Largo with the HTTP->HTTPS updates.
Seen at https://ctmirror.org/author/jkara/ with post https://ctmirror.org/2018/09/18/ct-hospitals-collect-1-2b-outpatient-facility-fees-three-years/:
The text was updated successfully, but these errors were encountered: