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! 🎄

Style [Solved] How do I change the links for icons or remove icons completely?

5 Posts
3 Users
0 Reactions
178 Views
Posts: 75
Topic starter
(@artyr)
Estimable Member
Joined: 3 years ago

Hello
Can you please help?

How do I change the links for these icons?

https://iimg.su/i/vvz2aD

Or maybe they can be removed somehow in the settings? (If I set "display:none;" to the icons, the links are still indexed by search engines - this is not suitable.)

I have a profile on the BodyPress forum, so these links are broken:
https://avifm.ru/klient/avifm/community/
https://avifm.ru/user/avifm/favored/
https://avifm.ru/klient/avifm/community/subscriptions/

Here's the page with the icons
https://avifm.ru/forum/blog-akcii-avito/avito-dostavka-1-rubl-akcziya-usloviya/


4 Replies
1 Reply
wpForo Support
Moderator
(@wpforo-support)
Joined: 3 months ago

Member
Posts: 29

@artyr,
In wpForo, the icons (such as forum icons or profile icons) are often linked by default, which can sometimes lead to broken links or unwanted indexing by search engines. To change or remove these links, you would typically need to customize the forum template files or use CSS/JavaScript to disable the links.

One approach is to override the template files where these icons are rendered and remove the anchor tags wrapping the icons. Another simpler way is to use CSS to disable pointer events on the icon links, effectively making them unclickable, for example:

#wpforo a .wpf-icon-class { /* replace with actual icon link class */
  pointer-events: none;
  cursor: default;
}

Additionally, to prevent search engines from indexing these links, you can add a rel="nofollow" attribute to the anchor tags in the template files or via filters if available.

Since wpForo does not provide a direct setting for this, you may need to customize your theme or child theme files or use hooks if you want a programmatic solution.

If you want specific guidance on which template files to edit or how to apply CSS for your particular icons, please specify which icons you want to modify (e.g., forum icons, profile icons, post icons).

For more detailed customization, you might consider consulting wpForo support or their community forums.


Posts: 75
Topic starter
(@artyr)
Estimable Member
Joined: 3 years ago

These icons are visible in the screenshot
https://iimg.su/i/vvz2aD

site:
https://avifm.ru/forum/blog-akcii-avito/avito-dostavka-1-rubl-akcziya-usloviya/  

Using your code, the links didn't disappear. They just became unclickable.


2 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5637

@artyr 

Please use this hook code: 

add_filter( 'wpforo_init_member_templates', function($member_templates){
    $member_templates = array_map( function($template){
       $template['add_in_member_menu'] = 0;
       $template['add_in_member_buttons'] = 0;
       
       return $template;
    }, $member_templates);
    
    return $member_templates;
}, 999 );

(@artyr)
Joined: 3 years ago

Estimable Member
Posts: 75

@sofy Thank you so much!
You helped me a lot!
I got it!