• 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter thendisc

    (@thendisc)

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

    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.

    Thread Starter thendisc

    (@thendisc)

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

    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!

    Thread Starter thendisc

    (@thendisc)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Link only comments’ is closed to new replies.