Can I add an extra link to the Meta section?
-
Hi,
I love WP but it irritates the heck out of me that when a user (subscriber role) logs in, he gets taken to the dashboard (which is useless for subscribers) and the only option he can click on is “Profile”.
I solved part of this problem (thanks to Whooami) by modifying a bit of code that redirects users to the main page after logging in by changing a bit of code in wp-login.php:
case 'login' : default: if ( isset( $_REQUEST['redirect_to'] ) ) $redirect_to = $_REQUEST['redirect_to']; else $redirect_to = '/blogname'; (instead of 'wp-admin/')
Now, what I would like to do is add a “Profile” link to the Meta sidebar that would take the user directly to his profile without going through the dashboard, for example (when logged-in):
Settings (changed from Site Admin)
Log Out
Profile
Entries RSS
Comments RSS
www.ads-software.comThanks,
Gene
- The topic ‘Can I add an extra link to the Meta section?’ is closed to new replies.