“Sidebar Login” – How to modify WordPress-Plugin for Buddypress
-
Hi there,
I have installed the WordPress Sidebar Plugin” in my Buddypress Installation. It worked fine. I only have one question:
Once logged in you get three administrative Links where the login form was:
- Dashboard
- Profile
- Logout
“Profile” however links to buddypress/wp-admin/profile.php while I would like it to link to the Buddypress member profile page
/buddypress/members/myusername/profile
This is the code in sidebar-login.php:
add_option('sidebarlogin_logged_in_links', "<a href="".get_bloginfo('wpurl')."/wp-admin/">".__('Dashboard')."</a>n<a href="".get_bloginfo('wpurl')."/wp-admin/profile.php">".__('Profile')."</a>",'no');Can anybody help me find out what I need to correct in this code? That would be very nice!
You must be logged in to reply to this topic.