Hey i installed buddypress and wanted to know if there is a theme function o can add so that on my theme it says
Login • Sign Up
and when they login it says
My Profile • Sign Out
|
Hey i installed buddypress and wanted to know if there is a theme function o can add so that on my theme it says
and when they login it says
|
|||
|
|
|
There isn't a specific function that will do this, but it's definitely something you can add to your site. Personally, I've added a custom widget to one of my sites that displays this kind of functionality in the upper-right corner. Here is some of the code I use:
If the user is logged in, it displays a box like this:
If the user is logged out, it displays a line of text like this:
|
|||||||
|
|
A quick note that @EAMann's answer isn't BuddyPress-specific. If you want to point to the user's BP profile edit page instead of the WP Dashboard version, replace
with
|
|||
|
|