Last active
October 17, 2016 07:41
-
-
Save edalis/9721898 to your computer and use it in GitHub Desktop.
WP Genesis: Customizing HTML5 Comment Form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://tinyurl.com/p4fddly | |
//***Customize The Comment Form**/ | |
add_filter( 'comment_form_defaults', 'bourncreative_custom_comment_form' ); | |
function bourncreative_custom_comment_form($fields) { | |
$fields['comment_notes_before'] = ''; //Removes Email Privacy Notice | |
$fields['title_reply'] = __( 'Share Your Comments & Feedback:', 'customtheme' ); //Changes The Form Headline | |
$fields['label_submit'] = __( 'Share My Comment', 'customtheme' ); //Changes The Submit Button Text | |
$fields['comment_notes_after'] = ''; //Removes Form Allowed Tags Box | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment