wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

Replace Filter emojis with text


mattjuliec
Posts: 3
Topic starter
(@mattjuliec)
New Member
Joined: 1 year ago

I am trying to re-configure the filter "most viewed" and "most reacted" icons with the actual text. I attached an image to show how I would like it configured. Any help would be greatly appreciated. 

1 Reply
Asti
Posts: 3623
 Asti
Support
(@asti)
Support member
Joined: 4 years ago

Hi @mattjuliec,

You can use the js codes below:

jQuery('#wpdcom .wpd-thread-filter .wpdf-hottest .fa-fire').replaceWith("text1"); 
jQuery('#wpdcom .wpd-thread-filter .wpdf-reacted .fa-bolt').replaceWith("text2");

Change the red marked part as you like. 

Useful article:  https://www.collectiveray.com/add-javascript-to-wordpress

Reply
Share: