Support » Plugin: Login With Ajax » Change profile link in widget

  • Resolved add.redford


    Hey there, I’m looking to simply change the destination of the ‘profile’ link in the widget. I want to avoid users having to access the back end of wordpress and have decided to use the Front-End Users plugin to do so. Now I just need to point them in the right direction 🙂 Which file should I edit to implement this change? I noticed a few people have already mentioned this might be useful also.

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • hi there, your wordpress menu go to Plugins-> Installed Plugins
    2.under “Login With Ajax” select Edit
    3.from the right sidebar choose : login-with-ajax/widget/widget.css
    4.then the right sidebar will update so choose : login-with-ajax/widget/default/widget_in.php
    5.go down in the codes (center of the page) and find this line : if( function_exists(‘bp_loggedin_user_link’) ) change the link to where you want it to point. (simply change YOUR_DESTINATION)

    if( function_exists('bp_loggedin_user_link') ){ ?>
    <a href="YOUR_DESTINATION" ><?php echo strtolower(__('profile')) ?></a><br/>
    	<?php }else{ ?>
    	<a href="YOUR_DESTINATION" ><?php echo strtolower(__('profile')) ?></a><br/>
    }  ?>

    Cheers mate =) I actually figured it out already but thanks all the same!

    your welcome 🙂

    voji91, thanks for posting that code to change the destination. This plugin really needs that addition, makes it perfect.

    Plugin Author Marcus


    NetWebLogic Support

    I’d argue that plugins with front-end profile pages should deal with this, i.e. redirect /wp-admin/profile.php to another page. I am pretty sure that a few do (e.g. s2member)

    that said, will consider this as a setting

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change profile link in widget’ is closed to new replies.