I am using a combination of the BuddyPress Sliding Login Panel (BPSLP) and a plugin called WP User Front End that apparently gives users the ability to create and edit posts from the frontend without switching to the standard WP Dashboard.
I have created the page called “Dashboard”, in which, according to the plugin instructions, I insert the shortcode [wpuf_dashboard]. This works fine, but I want to add the “User CP” link to the BPSLP under “Activity”.
The follwing link code in the BPSLP adds the link that takes the user to http://www.domain.com/members/username (i.e. the member’s profile page so that they can enter info under “What’s New” remembering that we’ve told BP which page to link to under BP Settings/Pages).
<li><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG ?>">Update My Status</a></li>
I tried defining a new BP page using:
define( ‘BP_DASHBOARD_SLUG’, ‘dashboard’ ); but that doesn’t create a link to the http://www.domain.com/dashboard/ page, it ends up linking to to http://www.domain.com/members/username/BP_DASHBOARD_SLUG page, which of course, does not exist, nor do I want it to.
Not knowing php, and having already tried inserting a simple HTML link, I was hoping someone could help me with an easier way to code a
command that would simply create the label “User CP” and link to the http://www.domain.com/dashboard/ page I created for the WP User Front End plugin.
my site is http://www.globalgamecast.com if you want to check it out.