Beskrivning
Adds a checkbox to author profiles to redirect. Useful for sites that have occasional authors or user accounts not intended for display.
Skärmdumpar
Installation
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.
Vanliga frågor
- 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' );
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Extra Authors Redirect” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Extra Authors Redirect” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.2
- Will also redirect for bbPress profile pages
1.1
- Cleaner meta check for adding author meta entry
1.0
- First release!