From f597e2fe949a1e18eb778b9a5bd102de88570555 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 18 May 2017 14:03:27 +0200 Subject: Initial commit. --- inc/custom-comments.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 inc/custom-comments.php (limited to 'inc/custom-comments.php') diff --git a/inc/custom-comments.php b/inc/custom-comments.php new file mode 100644 index 0000000..32f2d2e --- /dev/null +++ b/inc/custom-comments.php @@ -0,0 +1,30 @@ + '
' . ' ' . + '
', + 'email' => '
' . + '
', + 'url' => '
' . + '
', + ); + return $fields; + } + + add_filter( 'comment_form_defaults', 'bootstrap3_comment_form' ); + function bootstrap3_comment_form( $args ) { + $args['comment_field'] = '
+ + +
'; + $args['class_submit'] = 'btn btn-default'; // since WP 4.1 + return $args; + } -- cgit v1.2.3