Created
September 27, 2018 10:29
-
-
Save zainaali/bf7c0282ffe039a0cd4ae779d06ff837 to your computer and use it in GitHub Desktop.
Create post comment button and remove default post comment button
This file contains hidden or 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
// create post comment button | |
function glowlogix_comment_button() { | |
echo '<input name="submit" type="submit" class="btn margin-top-20" value="Send">'; | |
} | |
add_action( 'comment_form', 'glowlogix_comment_button' ); | |
For remove default button add "display: none" property in your style.css file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment