• Hello.

    I need some help figuring out why my “Submit comment” button won’t work…

    The code of comments.php is here: http://pastie.org/439578.

    What happens is, the comments and comment form display properly, the “Reply” and “Cancel reply” link work correctly, but the button below textarea says “Send” (shouldn’t it be “Submit”, like set?) and clicking on it doesn’t trigger anything. No new blank page, no errors, nothing.

    Thanks in advance for all help,
    Justine

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Justyna Ratajczak

    (@jusi)

    Bump for making sure I had

    <?php if(is_singular()) { wp_enqueue_script('comment-reply'); } ?>
    <?php wp_head(); ?>

    in my header – and I do.

    Still no idea what causes the problem.

    Thread Starter Justyna Ratajczak

    (@jusi)

    Yes, I have everything just like in the Codex, both in comments.php and header.php.

    Now, the weirdest part is, I copy-pasted the code from this blog post – it gave me the exact same “effect” – the “submit” button doesn’t work at all. Nothing happens.

    For a moment I thought it may be an issue that I have WP installed locally so I uploaded everything, activated my theme and it still doesn’t work. Form keeps displaying “Send” button under the textarea.

    So I have now two pretty much different versions of comments.php file, BOTH with the same result – not working submit button…

    Thread Starter Justyna Ratajczak

    (@jusi)

    Any ideas? This doesn’t seem like a code mistake to me anymore :/

    Have you tried testing using the default theme?

    Thread Starter Justyna Ratajczak

    (@jusi)

    Yes, the default theme looks just fine.

    Is there any way I could do something wrong within my theme to cause that weird behaviour? Again, the problem doesn’t seem to be in the comments.php file itself :/

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Comment submit button doesn’t seem to work.’ is closed to new replies.