ok, the quickest way would be to put this in custom css tab
.bbp-user-edit-link {
display : none;
}
BUT anyone who knows css , knows how to operate inspection tools in web-browsers, and knows that you are using bbopress and knows that bbpress should show a link there can turn it back on for themselves in the browser, but that would be very few !!
alternate is to change the profile template – do you know how to edit and transfer files to and from your browser?
Thanks for quick answer.
Sorry for the double entry. I messed up first time and image was not visible and not seeing the edit feature ergo the second post.
I do know how to edit and transfer files to and from browser.
-
This reply was modified 9 years ago by
chemdata.
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/user-details.php
copy this to your pc, and edit as follows :
around line 63 (depends on which version of bbpress you are using) you’ll find
<li class="<?php if ( bbp_is_single_user_edit() ) :?>current<?php endif; ?>">
<span class="bbp-user-edit-link">
<a href="<?php bbp_user_profile_edit_url(); ?>" title="<?php printf( esc_attr__( "Edit %s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php _e( 'Edit', 'bbpress' ); ?></a>
</span>
</li>
remove this and save the file
then put this file in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/user-details.php
bbPress will now use this template instead of the original
First thank you very much for all your help.
I did use the code you sent but had to modify it using !important to
.bbp-user-edit-link {
display : none;
}
and placed it in my style.css file of my child theme. And it works.
Thanks also for the fix to the user-detail.php file. I mad the changes and will be using it shortly.
I am marking this post as resolved.