WordPress.org

Forums

How to Add a Confirmation Message to Show Up After Comment is Submitted? (5 posts)

  1. izzy
    Member
    Posted 7 years ago #

    I'm looking for a way to have a specific confirmation message show up inside (or underneath) the comment input window after the comment has been submitted.

    My skills are pretty basic (I can alter code but don't know how to write or add anything that doesn't exist elsewhere) I'm still learning.

    Can anyone help me with this? Thanks in advance.

  2. LK
    Member
    Posted 7 years ago #

    Check out Lorelle's post about what code to add to your comments.php theme file.

  3. izzy
    Member
    Posted 7 years ago #

    I see what you mean and under normal circumstances, Lorelle's solution would work but my situation is a bit different.

    I'm trying to make my blog accept anonymous comments and have them moderated and thus I have to hide/disable the input form for name/email/website and that makes the moderation message not come up at all.

    So what I want is to just have a message that comes up for every single comment stating that all comments are held for review before being posted, regardless of the fact that the name/email/website info is not being populated.

    In essence, when a comment is submitted, I want that to trigger a message that is not contingent on cookies or commenter's ID's.

    Thanks!

  4. moshu
    Member
    Posted 7 years ago #

    Then hardcode it directly under the comment form and that's it. It won't "come up" - it will be there. Does it matter?

  5. izzy
    Member
    Posted 7 years ago #

    You know, I thought about doing that but the commenting process seems so...unfinished that way. You hit submit and your comment disappears and that's that. I thought it might tie up the commenting experience a bit more nicely the other way.

Topic Closed

This topic has been closed to new replies.

About this Topic