The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Add a text below th...
 
Share:
Notifications
Clear all

[Solved] Add a text below the comments

6 Posts
2 Users
1 Reactions
903 Views
Posts: 104
Topic starter
(@orakel)
Estimable Member
Joined: 4 years ago

Hello all

how can i add a important text (distancing from the meaning of the user comments) below the comment section?

 

Thanks in advance

Orakel

5 Replies
Asti
Posts: 7617
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

@orakel,

Please try to explain using a screenshot. 

Posts: 104
Topic starter
(@orakel)
Estimable Member
Joined: 4 years ago

Hello Asti

 

I mean a Disclaimer that i can put at the bottom of the comments section.

How and where to add it. I am sure this is important at comments (maybe) ^^

At the moment i have no screen in my hands.

I tried this code, but it is not working at all:

 

function comment_after_policy_field() { echo '<p>Here is my Text</p>'; } 
add_action('comment_form_after_fields', 'comment_after_policy_field');

 

 

Orakel

1 Reply
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

@orakel,

You can use the wpdiscuz_after_comments hook. More info here: https://wpdiscuz.com/docs/codex/actions/wpdiscuz_after_comments/

Posts: 104
Topic starter
(@orakel)
Estimable Member
Joined: 4 years ago

That was working, thank you very much dear Asti =)

 

function comment_after_policy_field() {
echo '<p>Das ist mein zweiter Text</p>';
}
add_action('wpdiscuz_after_comments', 'comment_after_policy_field');
Posts: 104
Topic starter
(@orakel)
Estimable Member
Joined: 4 years ago
image
Share: