• Resolved jakesyl

    (@jakesyl)


    So in my theme there is a buddypress functionality ( I have bp) so there is a profile link when i click on profile it brings me to /members/name/profile instead of /social/members/profile the code for this section of theme is `<!–Begin Page Wrapper–>
    <div id=”page-wrapper”>

    <!–Begin Page Shadow–>
    <div id=”page-shadow”>

    <!–Begin Header–>
    <div id=”header”>

    <!–Begin Nav–>
    <div id=”nav”>

    <?php wp_nav_menu(‘sort_column=menu_order&container=ul&theme_location=header-nav&fallback_cb=null’); ?>

    <!–Begin User Details–>
    <div id=”user-details”>

    <?php if($theme_profile_links == “0”) { ?>

    <?php if(is_user_logged_in()) { global $current_user; get_currentuserinfo(); ?>

    <div class=”login-name”><?php echo $current_user->display_name; ?></div>

    <a href=”<?php if(function_exists(‘bp_is_active’) && bp_is_active(‘activity’)) { ?><?php echo home_url(); ?>/<?php echo BP_MEMBERS_SLUG; ?>/<?php echo $current_user->user_login; ?>/profile<?php } else { ?><?php echo home_url(); ?>/?author=<?php echo $current_user->ID; ?><?php } ?>”><?php _e(‘Profile’, ‘gp_lang’); ?></a>
    `

    any help greatly appreciated

    [ Stop bumping. ]

Viewing 2 replies - 1 through 2 (of 2 total)
  • when i click on profile it brings me to /members/name/profile instead of /social/members/profile

    You can change the page slug from “members” to “social” by creating a new Page named Social, then go to wp-admin BuddyPress > Pages and across Members section select the Social page in dropdown and click on Save.

    Thread Starter jakesyl

    (@jakesyl)

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘changing directory’ is closed to new replies.