• Just writing my own template – got comments working, but in testing noticed that if you leave the comments field blank and hit submit, you get dumped out to a very unfriendly message –

    ‘Error: please type a comment.’

    Driven from the page wp-comments-post.php in the wp root directory. Is there a good or perhaps, a proper, way to easily format this page so it stays true to the template it’s sat in.

    I could hack around for hours, or I could just ask, so…..

    ….I’m just asking!

    I remain etc….

    yours

    bdjt

Viewing 1 replies (of 1 total)
  • This is something I’ve tried to get changed, but my patch has been languishing here.

    If you don’t want to change wp-comments-post.php, you might try adding to the ‘init’ action hook a function that checks to see if comment fields have been posted, then responds when one is blank.

Viewing 1 replies (of 1 total)

The topic ‘adding comments’ is closed to new replies.