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

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Add a text below the comments

6 Posts
2 Users
1 Reactions
1,185 Views
Posts: 107
Topic starter
(@orakel)
Estimable Member
Joined: 5 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: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

@orakel,

Please try to explain using a screenshot. 

Posts: 107
Topic starter
(@orakel)
Estimable Member
Joined: 5 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: 8 years ago

Illustrious Member
Posts: 8075

@orakel,

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

Posts: 107
Topic starter
(@orakel)
Estimable Member
Joined: 5 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: 107
Topic starter
(@orakel)
Estimable Member
Joined: 5 years ago
image
Share: