The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Is it possible to c...
 
Share:
Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpDiscuz community!

Merry Christmas and Happy Holidays! πŸŽ„

Is it possible to customize wpdiscuz voting buttons (SVG)

3 Posts
2 Users
0 Reactions
1,282 Views
Posts: 9
Topic starter
(@claymes)
Active Member
Joined: 6 years ago

Hi, is it possible to have own voting buttons in wpdiscuz? I mean totally different icons than those in the admin (+- / thumbs etc). Thanks.


2 Replies
Asti
Posts: 8205
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

@claymes,

Please read my answer here: https://wpdiscuz.com/community/general-forum/hope-to-add-settings-such-as-custom-voting-button-icon-and-reply-comment-icon/#post-14513

Β 


Reply
1 Reply
(@claymes)
Joined: 6 years ago

Active Member
Posts: 9

@asti thanks, could you, please, elaborate a bit more on the code you presented there?
How it would differ if you want to use it for more icons (+/-)? Thanks.

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>", ""];
return $args;
});

Reply
Share: