Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

Script [Solved] disable profile link

6 Posts
4 Users
1 Reactions
4,944 Views
Posts: 23
Topic starter
(@mitchcan)
Eminent Member
Joined: 8 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.


5 Replies
Robert
Posts: 10600
Admin
(@robert)
Support Team
Joined: 10 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 );

Posts: 23
Topic starter
(@mitchcan)
Eminent Member
Joined: 8 years ago

Works great. Thanks.


Posts: 3
(@dw89au)
Active Member
Joined: 3 years ago

Just wondering if there is a new way to do this? The suggestion no longer seems to work. Thanks


1 Reply
Chris
(@chris)
Joined: 4 years ago

Famed Member
Posts: 3610

@dw89au,

Try this Code:

add_filter( 'wpforo_member_link_clickable', '__return_false' );

Posts: 3
(@dw89au)
Active Member
Joined: 3 years ago

That was it, thank you!!