I'm pretty new to PHP and WordPress, and I'm looking for a little bit of assistance.
My client is wanting to add a "Country" text box to the comment form area of
their blog. (Right now, we just have "Name," Email," and "Website.") Here's how that code sits right now...
HTML Code:
<input name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" type="text"><label for="author"><small>Name </small></label>
<input name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" type="text"><label for="email"><small>Mail (will not be published) </small></label>
<input name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" type="text"><label for="url"><small>Website</small></label>
Is all that's required to add this is the following code?...
HTML Code:
<input name="location" id="location" value="<?php echo $comment_location; ?>" size="22" tabindex="4" type="text"><label for="location"><small>Country </small></label>
I just want to make sure I'm not messing something up, or forgetting to add something somewhere else.
EDIT: Sorry I can't seem to get the code to show as just plain text... Any help on how to get it to show up correctly...?