How to add an extra field to comment.php

Today I’ve searched the whole internet for how to add an extra field to the comments.php file which is visible in a comment in my admin. I have a comments.php file with a name, e-mail and textfield. But I want to add an extra field for location.

There are lots of tutorials for adjusting the default WordPress comment_form but I am searching for a piece of code for a custom made comment form.

If you can give me a step in the right direction, let me know in the comments please.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s