The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How to change like ...
 
Share:
Notifications
Clear all

[Solved] How to change like button icon?

3 Posts
2 Users
2 Reactions
1,270 Views
Posts: 2
Topic starter
(@sevenaxis)
New Member
Joined: 4 years ago

I would like to change the like icon to be a heart ❤

How can I do this?

Topic Tags
2 Replies
Asti
Posts: 7661
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Hi @sevenaxis,

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

Put it in the current active theme functions.php file. 

Posts: 2
Topic starter
(@sevenaxis)
New Member
Joined: 4 years ago

Wow that was fast, thanks a lot!

Already tested and it works perfectly, just needs a little alignment ajustment, I'll do it with CSS.

 

Thank you!

Share: