This topic has 2 replies, 2 voices, and was last updated 10 years by cameronvegas.
-
Author
-
November 8, 2015 at 12:37 #86257
cameronvegas
ParticipantThere is no profile page from the demo that I can add to the menu. Suggestions?
Also, in wordpress, usually I’d navigate to the page and then click “edit page”. The toolbar disappears when I view my site even while I’m logged in despite checking the box to the contrary.
November 8, 2015 at 13:27 #86259sharmstr
ModeratorIf I understand your first question, you can add menu links to a user profile by adding a custom link and using the ##profile_link## variable.
“With BuddyPress/bbPress installed you can add a link to profile using ##profile_link## in the URL input from Custom Links section bellow. Example: ##profile_link##/messages”
Hmmm. It appears to be working fine on my site. Do you have any plugins that would override this?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.November 8, 2015 at 19:08 #86296cameronvegas
ParticipantFantastic! Thank you.
Alternatively, for anybody else who may encounter this same question. I don’t have bbpress installed so I inserted this into my functions.php file:
COPY CODEfunction redirect2profile(){ include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if($_SERVER['REQUEST_URI'] == '/profile/' && is_plugin_active('buddypress/bp-loader.php') && is_user_logged_in()){ global $current_user; wp_redirect( get_bloginfo('url') . '/members/'. $current_user->user_login . '/profile/'); exit(); } } add_action('init', 'redirect2profile'); -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.

