Tag: comment form

  • Adding Input Fields To Comment Form

    Adding Input Fields To Comment Form

    Most comment forms contain the same input fields: Name, Email, URL and the comment text field. This is sufficient for most use cases but there are situations where you might want to know a bit more about your commenter: their age, the city they live in, or the color of their underwear. This article explains…

  • Comment Form Hooks Visualized

    Most themes (e.g. TwentyTen) use the comment_form() function to insert the comment form after posts. There are quite some hooks inside the function but they are hard to localize. The codex documentation isn’t too helpful, neither. To give you an easy overview the following diagrams visualize the points where the various hooks are anchored. The…