Subscribers appearing in author archive
-
Author archive pages are created for the no privilege ‘Contact” (or subscriber) role with a url of sitename/user_nicename. the_archive_title() returns author:(name of site admin), and the_archive_description() returns (director-title). The site admin (myself) created the contact page, so somehow wordpress thinks every subscriber is connected with the admin as author. Looking in the database, wp_capability is “contact” or “subscriber”, and wp_user_level is 0, so I stuffed the database OK. Somehow the archive page builder is creating a user_nicename url but returning the admin archive. But, interestingly, the loop isn’t posting any admin posts, the loop default archive query seems to know to not look for admin posts. The desired result is that no contact urls with user_nicenames ever appear, to protect the anonymity of my contacts.
On my website you can see what’s happening at https://sacredbreeze.org/author/johnsmith-com/, a fake user I created.
The page I need help with: [log in to see the link]
- The topic ‘Subscribers appearing in author archive’ is closed to new replies.