The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] Using wpdiscuz 7 with LearnDash - adding course to comments tag
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
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...
Jun 21, 2022 1:49 pm
(@robert-jss-tech)
New Member
Joined: 4 years ago
We are very successfully using wpdiscuz 7 with LearnDash4
We have many classes/groups doing the same lesson and would like to display their group, alongside their name. Can we use LD shortcode?
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
Show original
Translating...
Jun 21, 2022 4:19 pm
(@asti)
Illustrious Member
Joined: 8 years ago
Hi @robert-jss-tech
You can use the wpdiscuz_after_comment_author hook. More info here:
https://wpdiscuz.com/docs/codex/filters/wpdiscuz_after_comment_author/
You'll just need to make the do_shortcode(), before returning HTML.
Small hint:
add_filter("wpdiscuz_after_comment_author", function ($html, $comment, $user) {
$html .= do_shortcode("[your_shortcode]");
return $html;
}, 10, 3);
(@robert-jss-tech)
Joined: 4 years ago
New Member
Posts: 2
Jun 21, 2022 4:37 pm
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...
@asti Thank you very much