WordPress.org

Forums

Hack required just to change text of comment form errors? (2 posts)

  1. skunkbad
    Member
    Posted 2 years ago #

    There doesn't seem to be any way to change the comment form errors without hacking wp-comments-post.php. I did do quite a bit of searching while trying to find a solution, but I don't see one. I guess I could do a str_replace on the error messages in a custom wp_die solution, but this seems like a BS way to handle the issue. Am I missing something? Am I overthinking this?

  2. snowboardmommy
    Member
    Posted 2 years ago #

    There appears to be a tutorial on the subject at Velvet Blues. I haven't tried it yet, but thought I'd post in case you (or anyone else) is still looking for answers:

    http://www.velvetblues.com/web-development-blog/custom-wordpress-comment-error-page/

    I found it through this thread:

    http://wordpress.org/support/topic/how-to-redirect-to-the-comment-form-after-error

    Hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Topic