I have noticed when a user is tagged "@" symbol is displayed in the comments which doesn't look good. Is there any way we can hide @ when the comment is displayed?
Notifications
Clear all
Jul 10, 2020 12:49 pm
9 Replies
Jul 10, 2020 5:03 pm
Hi @sunny,
Please make sure the wpDiscuz User & Comment Mentioning addon is activated. The symbol is being displayed when you use a built-in wpDiscuz mentioning feature. In the addon, there should not be such an issue.
Jul 11, 2020 3:13 pm
Hi @sunny,
Use this js code it should solve the issue.
jQuery.each(jQuery('[data-ucm_user_id], .wpd-umcguest'), function () {
jQuery(this).html(jQuery(this).html().replace('@', ''));
});
Put the code in active theme js files. Here is a helpful article: https://www.collectiveray.com/add-javascript-to-wordpress