Jun 17, 2020 9:38 pm
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
Jun 18, 2020 12:04 pm
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