Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

Adding text before the Comment Text Field  

  RSS

fahirsch
(@fahirsch)
New Member
Joined: 2 years ago
Posts: 3
24/11/2018 12:47 am  

I would like to add text before the Comment Text Field.

I guess I could add it in a modified class.WpdiscuzWalker.php file but haven't the slightest idea where.

Or is there a setting that can be modified?

Thanks,

Francisco


Quote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 4126
24/11/2018 1:42 pm  

Hi Francisco,

In this case, you should use the following hooks

  • comment_form_before
  • comment_form_top

More info here:

http://wpengineer.com/2205/comment-form-hooks-visualized/


ReplyQuote
fahirsch
(@fahirsch)
New Member
Joined: 2 years ago
Posts: 3
24/11/2018 6:25 pm  

Thanks! I shall try to understand and implement.

Francisco


ReplyQuote
fahirsch
(@fahirsch)
New Member
Joined: 2 years ago
Posts: 3
24/11/2018 7:00 pm  

Thanks for the link. Studying I realized that I could just modify the single.php file of my theme just before comments_template().

Francisco


Tom liked
ReplyQuote
Share: