Notifications
Clear all

Script [Solved] disable profile link

3 Posts
2 Users
1 Likes
2,644 Views
mitchcan
Posts: 23
Topic starter
(@mitchcan)
Eminent Member
Joined: 4 years ago

How do I remove/disable the link for the author name on posts/replies? I want to display the name, but not have it link to the profile.

Thanks.

2 Replies
Robert
Posts: 9267
Admin
(@robert)
Support Team
Joined: 6 years ago

Put this code snippets in your current active WordPress theme functions.php

function wpforo_function_to_remove_profile_link($profile_url){
return false;
}
add_filter( 'wpforo_profile_url', 'wpforo_function_to_remove_profile_link', 10, 3 );
Reply
mitchcan
Posts: 23
Topic starter
(@mitchcan)
Eminent Member
Joined: 4 years ago

Works great. Thanks.

Reply
Share: