[wp-trac] [WordPress Trac] #41792: Suggested Enhancement to WordPress' Handling of Authors and Author URL's
WordPress Trac
noreply at wordpress.org
Mon Sep 4 11:36:03 UTC 2017
#41792: Suggested Enhancement to WordPress' Handling of Authors and Author URL's
-------------------------+-----------------------------
Reporter: kbooshco | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Hi, everyone, my first post here, but I have some concerns.
*WordPress' Handling of Authors*
I feel it's not the right UX when, say on a single author blog, the url
"blog.com/author" goes to 404.
I'd like for WordPress to programmatically direct/redirect a
blog.com/author to the archive of this single author if single author. I
mean, say I, Kabolobari, am an author on a single author blog and the url
to my posts is blog.com/author/kabolobari. So, WordPress automatically
creates that based on my name choice.
Now, since WordPress can also tell a multi-author blog once there's more
than one author, I'd like if WordPress then automatically builds the url
for such as blog.com/authors/kabolobar, Kabolobari being one author on
this blog.
Then if a user/browser were to backspace the url, of course, their
intention would be to see all authors at blog.com/authors, right? Thus,
WordPress shouldn't send them to a 404. WordPress should intelligently
default that to a list of all the authors on the multi-author blog.
Is my explanation clear?
Then, WordPress can, as with other archives, leave a way for admins or
theme developers to customize how they'd like this `authors.php`, as an
example, template to be.
To summarize,
Single Author Blogs = blog.com/author/single-author
Then, blog.com/author = This Single Author and a list of their posts
Multi Author Blogs = blog.com/authors/multi-author
Then, blog.com/authors = These authors list and a list of their posts
Then leave all of these to be customizable by theme devs.
I'm having a hard time hacking my way around this because of this feature
which I see is unavailable. If I'm wrong and there's actually a
straightforward way about this, kindly direct me.
*As an Example*
Kindly, study the website kincommunity.com. Because what I’m building is
very similar to that. Now, you should notice that when you hit Creators on
the navigation at this site, Kin Community’s developers chose a custom
post type route to display their Creators.
Thus, Creators takes you to kincommunity.com/our-community/. Then a single
creator is at kincommunity.com/creators/rosanna-pansino/, for example. But
when you try kincommunity.com/creators/, as a user you expect to see a
list of all creators, right? But you get a 404.
I figure if WordPress allowed for a native way to flex around this, so
that say you added a role of Creator (coding it yourself or with a plugin
such as Members by Justin Tadblock) and you give this new role about same
level of cap as Author.
Then one wouldn’t need to use CPT for this purpose and then the logic as
I’ve explained above would take hold automatically with allowance for
customization to look like the theme’s overall feel.
Could we examine these concerns? Thanks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41792>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list