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

wpForo 1.x.x [Solved] Add a font icon to the title of forum.

6 Posts
3 Users
2 Reactions
2,341 Views
Posts: 15
Topic starter
(@yahoyaho)
Eminent Member
Joined: 6 years ago

Hi.

I would like to add a font icon to the title of forum. I tried it using <i class>, but it doesn't work.

I think there's a code regarding esc_attr or sanitizing something. Could you please allow admin to add html code on the title?

This is not a user-submitted part, so I think there's no problem to allow html code on back end.

Thank you.


Topic Tags
5 Replies
Posts: 15
Topic starter
(@yahoyaho)
Eminent Member
Joined: 6 years ago

🙂

I meant here : https://imgur.com/a/mEvH7P3

When I add a font icon on the backend, it's sanitized to block custom html codes.


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

Support Team
Posts: 5636

@yahoyaho,

We'll add a new hook for this in the next update. So you'll be able to insert an HTML before the forum title.

 


(@yahoyaho)
Joined: 6 years ago

Eminent Member
Posts: 15

@sofy Wow thanks for your supports!! 😀 Have a good day:)

 


Posts: 22
 aung
(@aung)
Eminent Member
Joined: 5 years ago

I'm wondering if the new hook to insert an HTML before the forum title has been added?


1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5636

@aung,

You can customize the  topic.php file in the wp-content/plugins/wpforo/wpf-themes/classic/ folder and add the changes you like. 

The update safe way of the customization is described here:  https://wpforo.com/docs/root/forum-themes/theme-customization/