WordPress.org

Ready to get started?Download WordPress

Forums

Link only comments (6 posts)

  1. thendisc
    Member
    Posted 9 years ago #

    I'm trying to get comments to display only the author name and corresponding link as a comment. I have deleted the form entry fields for the comments section, but when a post is made an error is shown saying "Please, enter a comment." I have tried to delete the $comment value from wp-comments-post.php, but have been unsucessful in figuring out the exact value.
    Thanks for any help.

  2. thendisc
    Member
    Posted 9 years ago #

    I forgot to provide a link to the site, which may be needed:
    http://www.lensday.com

  3. chuyskywalker
    Member
    Posted 9 years ago #

    because the posting function checks for a value in the form field "comment", you either must remove that check, or put a dummy value in. I suggest the later.
    Take the <textarea> out and replace it with a <input type="hidden" value="dummycomment" name="comment" /> and you should be set.

  4. thendisc
    Member
    Posted 9 years ago #

    I placed that in, but when I try to post it anything.

  5. chuyskywalker
    Member
    Posted 9 years ago #

    Ok, i have no idea what that last thing you just said means, but it seems to be working fine now when I try it on your site, so...uh...good job!

  6. thendisc
    Member
    Posted 9 years ago #

    I'm not sure what happened with that last post. I was trying to say that I got everything to work, and thanks for all your help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.