The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] Custom Badges
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
How-to and Troubleshooting
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
Show original
Translating...
Jul 16, 2020 11:51 am
(@oempire)
Active Member
Joined: 5 years ago
Wed like to add a custom badge under / Next to where the current author badge sits.
With the old plugin there was some hooks we could get to to control this as it integrated with others (now it looks to only to cred)
Is there still a hook we can utilise - we want to show Membership status? (and it doest utilise group / role).
We found we could edit label.html but we cant add any php code to this can we?
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
Show original
Translating...
Jul 16, 2020 12:47 pm
(@taron)
Eminent Member
Joined: 6 years ago
Hi @oempire,
You can use the "wpdiscuz_after_label" hook to add a custom badge.
More information here:
https://wpdiscuz.com/docs/codex/filters/wpdiscuz_after_label/