Target: Comments

7 posts

How to change the “Leave a comment” text in WordPress ?

This text can be altered with a WordPress filter hook comment_form_defaults In the following code, simply replace Custom leave a comment by your own text :   add_filter(‘comment_form_defaults’, ‘set_my_comment_title’, 20); function set_my_comment_title( $defaults ){ $defaults[‘title_reply’] = __(‘Custom leave a comment’, ‘customizr-child’); return $defaults; }

removing-text-below-comment

Removing the allowed HTML tags and attributes note after the comment form in WordPress

Those last days I have had a recurrring request on how to remove the text describing the HTML tags allowed in comments : “You may use these HTML tags and attributes …“.     This is pretty simple to remove this note in WordPress since it is declared in an array assigned to a […]