描述
Adds a checkbox to author profiles to redirect. Useful for sites that have occasional authors or user accounts not intended for display.
螢幕截圖
安裝
This section describes how to install the plugin and get it working.
- Upload
extra-authors-redirect
to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Check the author(s) you want redirected.
常見問題
- Does this affect posts / pages / admin / ???
-
No. this only affects people going to the /author/ template page on a site, and only affects those that have been marked to redirect.
- Can I change where the redirect goes?
-
Yes. There is a filter to change the default behavior. In your functions file, include the following:
function new_auth_url($location) { $location = 'http://google.com'; return $location; } add_filter( 'extra_author_redirect_url', 'new_auth_url' );
評價
There are no reviews for this plugin.
貢獻者及開發者
修改日誌
1.2
- Will also redirect for bbPress profile pages
1.1
- Cleaner meta check for adding author meta entry
1.0
- First release!