Review: Edit Author Slug Plugin |
Posted: May 14, 2020 |
Occasionally I come across plugins that are just awesome. While performing on a client project that had a membership directory, I needed the power to look at profile details for every individual user within the directory. By default, WordPress uses the “/author/username” slug when viewing a user. Well for a directory of members (not authors), this did not make much sense, and would not have pleased the client very much. This is where the Edit Author Slug plugin comes into play.
The plugin allows you to change the “/author/” part of user URLS to anything you want. This is called the “Author Base”, very similar to the category and tag bases that ca be defined within the Permalink settings. Once the plugin is active, a replacement option called “Author Base” is added to the Permalink settings, as shown within the screenshot below:
You could, for instance , enter “members” within the Author Base settings. Doing this will result in author URLs being changed from:
http://yoursite.com/author/username
to
http://yoursite.com/members/username
By default, “username” is replaced with the user’s login name, but you can change this as well. By editing the profile of the user you would like to vary , you'll alter the user’s slug by filling out the “Author Slug” option that has been added by the plugin, as shown in the screenshot below:
If you enter “my-awesome-user”, then that user’s final slug will be:
http://yoursite.com/members/my-awesome-user
Pretty cool. One of the things that is really great about this plugin is that it does one (actually two) thing, and one thing very, very well, while maintaining a very minimal foot print. It’s great because the settings for the plugin are not added to their own settings page, they’re added to the existing settings in exactly the way you would expect them to be if they were part of WordPress core.
While i used to be at WordCamp Miami, Jake Goldman gave an excellent talk titled What Would Core Do?. One of the points he covered was how plugin developers should always strive to make their plugins seem as though they are part of core. I couldn’t agree more, and Edit Author Slug does this very, very well.
|
|||||||||||||||||||||||||||||||||||||||||||
|