Enabling "Website" field in comment form?

Discussion in 'Dzonia WordPress Theme' started by asefredrikson, May 1, 2013.

Thread Status:
Not open for further replies.
  1. asefredrikson

    asefredrikson New Member

    Joined:
    Apr 22, 2013
    Messages:
    4
    Likes Received:
    0
    Hello! I need to enable website field in the comment form so that the comment authors website is displayed. Can someone direct me how to do this?

    Thanks in advance!
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Go to the comments.php file present in your Theme directory and paste the code given below in that file as shown in the image.
    Code:
    <tr>
      <td><label for="url">Website </label>
      </td>
      <td><input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" <?php if ($req) echo "aria-required='true'"; ?> />
      </td>
    </tr>
    See the image for the reference.
    [​IMG]

    This will solve your issue.
     
  3. asefredrikson

    asefredrikson New Member

    Joined:
    Apr 22, 2013
    Messages:
    4
    Likes Received:
    0
    Thanks bunches!!!!!
     
Thread Status:
Not open for further replies.

Share This Page