Skip to content

Instantly share code, notes, and snippets.

@zainaali
Created September 27, 2018 10:29
Show Gist options
  • Save zainaali/bf7c0282ffe039a0cd4ae779d06ff837 to your computer and use it in GitHub Desktop.
Save zainaali/bf7c0282ffe039a0cd4ae779d06ff837 to your computer and use it in GitHub Desktop.
Create post comment button and remove default post comment button
// 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