Replace Filter emoj...
 
Share:
Notifications
Clear all

Replace Filter emojis with text

2 Posts
2 Users
0 Likes
762 Views
Posts: 4
Topic starter
(@mattjuliec)
Active Member
Joined: 4 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: 7056
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 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: