Change Profile Link to Forum Profile
-
Hiya,
Trying to convert the Profile link that lives under the username from the WordPress admin backend (mysite/wp-admin/profile.php) to the corresponding bbPress forum User page.
I have tried going into login-with-ajax/widget/default/widget_in.php and changing the following lines:
//Admin URL if ( $lwa_data['profile_link'] == '1' ) { if( function_exists('bp_loggedin_user_link') ){ ?> <a href="https://localhost/mysite/forums/user/%USERNAME%/"><?php esc_html_e('Profile','login-with-ajax') ?></a><br/> <?php }else{ ?> <a href="https://localhost/mysite/forums/user/%USERNAME%/"><?php esc_html_e('Profile','login-with-ajax') ?></a><br/> <?php } }
But nothing changed (the names in the Ajax widget still link to wp-admin/profile.php).
Please let me know if I’ve edited the LWA file incorrectly or if I should try something else! I’ll echo others from the past in that I really wish this was a plugin feature.
Thank you~
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Change Profile Link to Forum Profile’ is closed to new replies.