The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Changing the upvote...
 
Share:
Notifications
Clear all

[Solved] Changing the upvote and downvote comment buttons?

3 Posts
2 Users
1 Reactions
2,329 Views
Posts: 3
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@marigold91)
Active Member
Joined: 5 years ago
[#888]

Hi I have a question regarding the upvote/downvote buttons, they are currently set to + and - and I can't find a way of changing that - ideally I'd want them to say "helpful" and "unhelpful" instead. Tried changing it with css by changing the wpd-vote-up wpd_not_clicked to hidden and using the :after thing but it doesn't seem to be working (it hides it, can't change it).

 

thanks for help in advance, 


2 Replies
Asti
Posts: 8210
 Asti
Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@asti)
Illustrious Member
Joined: 8 years ago

Hi @marigold91,

1. You can use "Voting / Liking Buttons" option. More info here:  https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/comment-thread-features/#voting-liking-buttons

2. Or below is provided an example you can use: 

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;
});

This hook code should be put in the WordPress active theme functions.php file (more information how to add insert custom code):

Note: the code above is just an example. If you're not familiar with coding we don't recommend you change anything.


1 Reply
(@marigold91)
Joined: 5 years ago

Active Member
Posts: 3
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@asti thank you, that helps!


Share: