开发者 | thebrandonallen |
---|---|
更新时间 | 2023年10月17日 13:09 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 6.4 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
edit-author-slug
folder to your WordPress plugins directory (typically 'wp-content/plugins')On standard WordPress installs, it's the final part of an author permalink.
e.g. - https://example.com/author/author-slug/
In relation to WordPress internals, the author slug is the same as the user_nicename
field found in a WP_User
object, or the users table in the database.
It depends.
Changing a user's author slug is permanent, as this changes the user's user_nicename
field in the database.
If you've changed the author base, deactivating or deleting the plugin will revert your author base back to author
.
Make sure you are an admin, or have been assigned the edit_users
capability.
While I've made every attempt to prevent this, I may have missed a spot or two. First things first, go to Settings > Permalinks and click "Save Changes." You don't need to actually need to make any changes for this to work. Hopefully, this should kick your new Author Slug into gear. If this doesn't work, make sure you don't have any slug conflicts from other posts/pages/plugins/permalink setting/etc. If you're still experiencing the issue, feel free to post a support request in the forums.
ba_eas_can_edit_author_slug()
returns false
.ba_eas_sanitize_author_base()
by preventing unnecessary processing.%ba_eas_author_role%
permalink structure tag. This can be used to customize role-based author bases.