Relocating cancel button in comment_form
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Relocating cancel button in comment_form’ is closed to new replies.
The topic ‘Relocating cancel button in comment_form’ is closed to new replies.
(@mrtsherman)
15 years, 2 months ago
I am using comment_form() in my comments.php file. I need to relocate the default location of the cancel button from above the reply form to below and next to the submit button. comment_form does not seem to provide a facility for this.
i tried using comment_notes_after and coding my own cancel button, but it uses a unique id for hiding when the cancel button is clicked. you can’t duplicate id’s and it breaks the javascript for hide/show the form.