Notifications
Clear all

How to add text between comment form fields?

3 Posts
2 Users
3 Likes
2,766 Views
(@next_pi)
New Member
Joined: 7 years ago
Posts: 2
Topic starter  

Hi,

I want to add some formatted text into the comment form - below the comment text field, but above the other fields and submit button. I tried to use the action hooks of WP but only comment_form_before and comment_form_top are working. 

The text is a short explanation how the users can add source code to their comments. How can I add my text?

 

Thanks a lot.


   
Quote
 Tom
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4168
 

I'm sorry but there is no way to add text between comment fields yet. You should put it above ore below comment form.


   
Della reacted
ReplyQuote
(@next_pi)
New Member
Joined: 7 years ago
Posts: 2
Topic starter  

Ok, I found a way to add my text:

I inserted it in
/wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Form.php

But it would be great, if you could add the possibility to add a simple (formatted) textbox in the form builder. I fear my changes will be gone on next update...


   
Della and Yeung reacted
ReplyQuote
Share:
Scroll to top