Comments title
 
Notifications
Clear all

[Solved] Comments title

3 Posts
2 Users
0 Reactions
864 Views
Magdalena
(@magdalena)
Active Member
Joined: 5 years ago
Posts: 15
Topic starter  

Hi there, how can I add a comment title/wording to wpDiscuz

firefox h8XVUfTB8C

 


   
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6146
 

Hi @magdalena,

You can use one of the following hooks:

  • comment_main_form_after_head
  • comment_form_top
  • wpdiscuz_comment_form_top
  • comment_form_before
  • wpdiscuz_comment_form_before

The example is provided below:

add_action("comment_main_form_after_head", function () { 
echo "Custom Message";
});

The code should be added in your active theme functions.php file.


   
Magdalena
(@magdalena)
Active Member
Joined: 5 years ago
Posts: 15
Topic starter  

@astghik Super! Thank you for your help!


   
Share:
Scroll to top