Hello,
First of all thanks for your great work.
I am trying to change all the icons in the plugin to adapt the design to my brand but WpDiscuz does not offer any way to do it, only through code (this should be implemented as an essential option to adapt the plugin to any theme or branding in my opinion).
I tried the tip you shared in this post and it works half-heartedly, as it only adds a like icon, so the downvote button disappears.
Also, as I said before I would want to change all the icons to make a harmonious professional design: the reply button, the two like buttons, the user info and the settings wheel so that everything works in unison.
Is there any way to do this at the moment?
I tried the tip you shared in this post and it works half-heartedly, as it only adds a like icon, so the downvote button disappears.
If you want to change the dislike button you should add the second argument in the hook-code
add_filter("wpdiscuz_comment_list_args", function ($args) { $args["voting_icons"] = ["<svg xmlns=' https://www.w3.org/2000/svg ' width='24' height='24' viewBox='0 0 24 24'><path d='M12 4.435c-1.989-5.399-12-4.597-12 3.568 0 4.068 3.06 9.481 12 14.997 8.94-5.516 12-10.929 12-14.997 0-8.118-10-8.999-12-3.568z'/></svg>", /* this is the second argument */ "<svg xmlns=' https://www.w3.org/2000/svg ' width='24' height='24' viewBox='0 0 24 24'><path d='M12 4.435c-1.989-5.399-12-4.597-12 3.568 0 4.068 3.06 9.481 12 14.997 8.94-5.516 12-10.929 12-14.997 0-8.118-10-8.999-12-3.568z'/></svg>"]; return $args; });
Also, as I said before I would want to change all the icons to make a harmonious professional design: the reply button, the two like buttons, the user info and the settings wheel so that everything works in unison.
You should change the template files like it's described here:
https://wpdiscuz.com/docs/wpdiscuz-7/customization/custom-template-and-style/
Finally I've been able to change all the icons with your indications. Thank you Asti. Thank you a lot for your active support, what definitely makes the difference. I'll share my suggestions to try to contribute my bit to WpDiscuz. Where should I do it?
🖐️ Now I'm trying to find out how to delete the parenthesis from the replies label. Should I open a new topic?
Thank you a lot,
Álex
Sorry for the double post by I have detected that replacing the like button in the .html document makes that it doesn't appears in the replies. It only happens on PC devices.
Where should I investigate to delete the parenthesis from the replies label?
I'll ask the developers and let you know soon.
You can change this using js code.