wpDiscuz - WordPress Comment Plugin
Replace Filter emoj...
 
Share:
Notifications
Clear all

Replace Filter emojis with text

2 Posts
2 Users
0 Likes
473 Views
mattjuliec
Posts: 4
Topic starter
(@mattjuliec)
New Member
Joined: 2 years 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: 5451
 Asti
Support
(@asti)
Illustrious Member
Joined: 5 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: