Created
September 30, 2013 15:00
-
-
Save RhythmShahriar/6765077 to your computer and use it in GitHub Desktop.
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
<?php | |
/**------------------------------------------- | |
* @package Genesis Comment Section | |
* @link http://rhythmshahriar.com | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
/**Customize The Comment Form in Genesis 2.0 Html5*/ | |
add_filter( 'comment_form_defaults', 'rhythm_custom_comment_form' ); | |
function rhythm_custom_comment_form($fields) { | |
$fields['comment_notes_before'] = 'Your Notic Text'; //Leave it Empty to Removes Email Privacy Notice ex: $fields['comment_notes_before'] = ''; | |
$fields['title_reply'] = __( 'Shoot Your Comment', 'customtheme' ); //Changes The Form Headline | |
$fields['label_submit'] = __( 'Button Name', 'customtheme' ); //Changes The Submit Button Text | |
$fields['comment_notes_after'] = 'Allowed Text'; //Leave it Empty to 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