The Ultimate Guide to WordPress 3.0 Comment Form Customization

With the release of WordPress 3.0, a new function is given to us to use. comment_form() will display the comment form on any given page with ease. This will be good for both theme developers and plugin developers alike. This new function opens up new doors and allows us to modify things that before were much more complicated.

In this article I will explain how to use the new comment_form() function within WordPress 3.0 to give better usability within our comments function inside of WordPress.

To use this function you can open up your comments.php file within your theme and view the code that should look similar to the following:

comments.php file

<?php if ('open' == $post->comment_status) : ?>

<div id="respond">
<h3><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3>
<div class="cancel-comment-reply">
	<small><?php cancel_comment_reply_link(); ?></small>

<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
You must be <a href="<?<span class="><?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=">logged in</a> to post a comment.
<pre><?php else : ?></pre>
<form action="<?<span class="><?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"></form>

<?php if ( $user_ID ) : ?>

Logged in as <a href="<?<span class="><?php echo get_option('siteurl'); ?>/wp-admin/profile.php"></a>. <a title="Log out of this account" href="<?php echo wp_logout_url(get_permalink()); ?>">Log out »</a>

<?php else : ?>

<input id="author" name="author" type="text" value="<?<span class=" /><?php echo $comment_author; ?>" size="22" tabindex="1" />
<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label>

<input id="email" name="email" type="text" value="<?<span class=" /><? php echo $comment_author_email; ?>" size="22" tabindex="2" />
<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label>

<input name="<span class=" type="text" />url" id="url" value="" size="22" tabindex="3" />
<label for="<span class=">url"><small>Website</small></label>

<?php endif; ?>

<!--<small><strong>XHTML:</strong> You can use these tags: <code></code></small>


<textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4">

<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
<?php comment_id_fields(); ?>
<?php do_action('comment_form', $post->ID); ?>


<?php endif; // If registration required and not logged in ?>
<?php endif; // if you delete this the sky will fall on your head ?>


You can delete the above code in comments.php file and replace it with the following:

<?php comment_form(); ?>

The WordPress 3.0 function – comment_form() has 2 parameters that can be optionally modified to your liking: Here is the example arguments that can be used:

<?php comment_form($args, $post_id); ?>

Now to explain what each of these parameters do so we know how to use them:

$args: This contains our options for our strings and fields within the form and etc.
$post_id: Post ID is used to generate the form, if null it will use the current post.

The $arg parameter uses the following values by default:

Default $arg Values

<?php $defaults = array( 'fields' => apply_filters( 'comment_form_default_fields', array(
    'author' => '<p class="comment-form-author">' .
                '<label for="author">' . __( 'Name' ) . '</label> ' .
                ( $req ? '<span class="required">*</span>' : '' ) .
                '<input id="author" name="author" type="text" value="' .
                esc_attr( $commenter['comment_author'] ) . '" size="30" tabindex="1"' . $aria_req . ' />' .
                '</p><!-- #form-section-author .form-section -->',
    'email'  => '<p class="comment-form-email">' .
                '<label for="email">' . __( 'Email' ) . '</label> ' .
                ( $req ? '<span class="required">*</span>' : '' ) .
                '<input id="email" name="email" type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" size="30" tabindex="2"' . $aria_req . ' />' .
                '</p><!-- #form-section-email .form-section -->',
    'url'    => '
<p class="comment-form-url">' .</p>

                '<label for="url">' . __( 'Website' ) . '</label>' .
                '<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" tabindex="3" />' .

<!-- #<span class="hiddenSpellError" pre="">form-section-url</span> .form-section -->' ) ),
    'comment_field' => '<p class="comment-form-comment">' .
                '<label for="comment">' . __( 'Comment' ) . '</label>' .
                '<textarea id="comment" name="comment" cols="45" rows="8" tabindex="4" aria-required="true"></textarea>' .
                '</p><!-- #form-section-comment .form-section -->',
    'must_log_in' => '
<p class="must-log-in">' .  sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>

    'logged_in_as' => '
<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%s">%s</a>. <a title="Log out of this account" href="%s">Log out?</a></p>

' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ),
    'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email is <em>never</em> published nor shared.' ) . ( $req ? __( ' Required fields are marked <span class="required">*</span>' ) : '' ) . '</p>',
    'comment_notes_after' => '<dl class="form-allowed-tags"><dt>' . __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:' ) . '</dt> <dd><code>' . allowed_tags() . '</code></dd>',
    'id_form' => 'commentform',
    'id_submit' => 'submit',
    'title_reply' => __( 'Leave a Reply' ),
    'title_reply_to' => __( 'Leave a Reply to %s' ),
    'cancel_reply_link' => __( 'Cancel reply' ),
    'label_submit' => __( 'Post Comment' ),
); ?>

The parameters of $arg are self-defined by names. Also remember that you can leave $arg as null if you wish and it will use the default.

You can also customize $arg using the comment_form_default_fields filter.
Example: If you wanted to hide the URL field on your form, you can simply insert the following code to your functions.php file:

Functions.php file

add_filter('comment_form_default_fields', 'mytheme_remove_url');

function mytheme_remove_url($arg) {
    $arg['url'] = '';
    return $arg;

All fields are also each passed through a filter of the form comment_form_field_$name
This gives us more options to use for each way of changing our output.
$name is the value used in the array of fields. So we can also hide it using the following:

add_filter('comment_form_default_fields', 'mytheme_remove_url');

function mytheme_remove_url($arg) {
    $arg['url'] = '';
    return $arg;

Using the comment_form() function is an excellent way to keep the code within your template clean. It gives you more ways to customize the comments form using sets of filters.
For users of WordPress 3.0 it is suggested you use this new code to replace the old style comment form code.

Customizing with Hooks

Using more hooks to customize our comments_form. Here are some more options and examples to show more on how this can be used.

The first hook is comment_form_default_fields. This lets us modify the three main fields: author, email, and website. It’s a filter, so we can change things as they pass through it. The fields are stored in an array which contains the html that is output. So it looks sorta like this:

	'author' => '<p class="comment-form-author">...',
	'email'  => '<p class="comment-form-email">...',
	'url'    => '<p class="comment-form-url">...'

This simple method shows the generic way the code can display, but using other modifications you can change more fields like this:

function my_fields($fields) {
$fields['new'] = '<p>a new input field is here</p>';
return $fields;

This allows us to add a new input field, or to modify the existing fields.

Fields are not the only items that can be changed. There is also a comment_form_defaults filter as well. It gets the surrounding text of the comments form.

Comment Form Default

$defaults = array(
	'fields'               => apply_filters( 'comment_form_default_fields', $fields ),
	'comment_field'        => '<p class="comment-form-comment">...',
	'must_log_in'          => '<p class="must-log-in">...',
	'logged_in_as'         => '<p class="logged-in-as">...',
	'comment_notes_before' => '<p class="comment-notes">...',
	'comment_notes_after'  => '<dl class="form-allowed-tags">...',
	'id_form'              => 'commentform',
	'id_submit'            => 'submit',
	'title_reply'          => __( 'Leave a Reply' ),
	'title_reply_to'       => __( 'Leave a Reply to %s' ),
	'cancel_reply_link'    => __( 'Cancel reply' ),
	'label_submit'         => __( 'Post Comment' ),

Everything that is displayed as a section of the comment form area are defined in this one place, so they can be modded to your liking.
Remember, that unlike the fields, when you add new parts here it won’t change anything. The fields get pushed through for display, so these
are just settings that get used randomly.

Filters are not the only way to change this. The comment_form function can accept an array of arguments as different parameters, and each of those
will modify the form as well. If you wanted to make a simple modification to alter the wording of “leave a reply” – Then you could change the following:

<?php comment_form(array('title_reply'=>'Leave a Reply, And Voice Yourself')); ?>

This allows us to have a more simple way of making changes without all the hassle of filters, but remember that the filters can also be useful and more powerful for other operations.

And Yes, There is More!

While the comment form is generated there are also some action hooks being called. If you choose to put something into the form itself while it is being generated you can do so by using the following:

Action hooks.

• comment_form_before
• comment_form_must_log_in_after
• comment_form_top
• comment_form_logged_in_after
• comment_notes_before
• comment_form_before_fields
• comment_form_field_{$name} (a filter on each and every field, where {$name} is the key name of the field in the array)
• comment_form_after_fields
• comment_form_field_comment (a filter on the “comment_field” default setting, which contains the textarea for the comment)
• comment_form (action hook after the textarea, mainly for backward compatibility)
• comment_form_after
• comment_form_comments_closed

Styling with CSS

Don’t forget your styling! Each part of the comment form contain classes and id’s that can be styled using CSS. You can check out the HTML output and see all of the entries to style to your liking. The output is also semantic and contains label tags.

In Closing…

I myself have been using this new function in creating themes for WordPress 3.0 and have found it to be really useful. If used correctly you can accomplish many different results that can better help your coding of a comments form for yourself or a client. Play around with the code and have fun – Feel free to ask any questions. Enjoy!

Kevin Stanley

My name is Kevin. I am a 30 year old freelance web designer. I have been working with HTML, CSS, and PHP for 6+ years - And creating websites using Wordpress for 3 years. I enjoy creating websites and also doing some graphic design using Photoshop and Illustrator. I hope everyone enjoys reading my articles and I look forward to your questions, comments, and feedback.

15 Smart Tools To Help You Build Your Freelance Business

Discover the awesome tools we use in making our clients comfortable and happy in learning new things every day.

Download Now


  1. Lisa G. says

    I was afraid to dive into php, but gave it a shot after reading this. Never really love WordPress’ comment system. Thanks for the tips to get me started.

  2. Foong Cheng Leong says

    I totally agree with what you are saying eventhough this article is not suit to new WP :)

  3. says

    This post is really helpful. I am able to override ‘author’, ‘email’ and ‘url’ default settings, but I’m not able to override ‘comment_field’, it is getting duplicated, i.e. the default textarea is also appearing with my custom comment textarea. Any help would be appreciated.

  4. Milan says

    I drop a comment each time I like a article on a website or if I have something to valuable to contribute to the conversation. It’s a result of the fire communicated in the post I browsed. And after reading this article I was actually moved enough to drop a comment here

  5. Damian Smith says

    Brilliant article thanks! Seems to work perfectly well with the latest versions of wordpress as well (3.3)
    Made the code a lot cleaner as mentioned and seems to have made life easier when trying to implement the comments form into side areas ect. (Had a nightmare with previous use of the normal code)

    Thanks for sharing :)

  6. Muddasser says

    I had some issues regarding this problem in the hooks. you made it really simple and i solved them. thanks.

  7. Vendy says

    Thanks for this clear explenation, but does someone know how to make a theme with the comment_form() also compatible with WordPress <3.0 versions?

  8. Mary says

    Got scared after *at first* but it is worth reading. Will try to do this on a project I am working right now. Thanks!

  9. Fred says

    In CSS, selectors are used to declare which of the markup elements a style applies to, a kind of match expression. Selectors may apply to all elements of a specific type, or only those elements that match a certain attribute. Thanks.

  10. sotck image central says

    Hi there, i read your blog from time to time and i own a similar one and i was just wondering if you get a lot of spam responses? If so how do you prevent it, any plugin or anything you can recommend? I get so much lately it’s driving me mad so any support is very much appreciated.

  11. says

    This is a nice post and helped a lot. But when I add a new field to the form, it doesn’t actually get sent anywhere how do you include this inside the confirmation e-mail or in the comment within the dashboard?

  12. Tramadol says

    I am in fact pleased to read this webpage posts which carries plenty of useful data, thanks for providing these data.

  13. abhiz says

    Amazing tutorial! now i can setup extra comment features in my wordpress blog! thank you very much

  14. charmy says

    Hi! Is there a fix so that comment field remember name and email of the commentator? I use graphene theme but the commentators have to manually type it in every time they reply.

  15. John says

    Most poeple would not like these messy links to put in the wordpress, But if you can do it, this is a great. You have a great knowledge in this area. Thanks for the share.

  16. Rishav says

    Hi, I am blogger but have hesitation using the wordpress but it seems to be simple and easy to get it done.

  17. Toko says

    Thank you very much.
    Your information is very clear. In one hour, I manage to customize the whole aspects of my comment section.

  18. Pritt says

    Good help provided by you, but i want to change on my site comment looks only, not a field, for me field is ok, just want to change a look, kindly provide some info, for the same, thanks .

  19. Sumeet Chawla says

    Nice article, The quick app creators are really helpful.

    P.S.: To Admin, Most of the comments are spam <_<

  20. Shaun Kowalewski says

    Thanks for the HTML code. This is great, clean code for php. I can certainly use this code for the professional wordpress comment form. Thank you. Things just get better!

  21. Dogan Kutbay says

    I copied your comments.php code, but its not working, there are some syntax problems.
    But thanks anyway.

    • Pete says

      There are several syntax error in the code unfortunately… Seems like the author simply copy / pasted it without paying any attentiont to testing it.

  22. Derek says

    thanks, that helped a lot. However, its still not clear how we can change the label of the textarea section. Its not in the filter as you posted it, and havent been able to find it somewhere else so far.

  23. Stan says

    I recently started a blog, and I was just wondering how people have promoted their blogs online to get more followers so you aren’t just typing to nothing out in the internet?
    Oh, and for my blog, I don’t really want my friends to be my followers, unless they find it on their own. My blog is about something that most of my friend’s can’t really help me with. (Photography is the main subject)

  24. Dewayne Auber says

    There are some attention-grabbing deadlines in this article but I don?t know if I see all of them heart to heart. There’s some validity however I’ll take hold opinion till I look into it further. Good article , thanks and we wish more! Added to FeedBurner as well

  25. sam yulee says

    I’m still attaining understanding of your stuff, but I’m making my in place too. I absolutely enjoy reading through through all that’s released inside your blog.Continue the great work. I loved it!

  26. Ian says

    Just use your imagination. Stories or characters of movies that you watched and liked that you want to be made in a single story or movie.

  27. Ian says

    We want the movie to be

    ~Really Scary (Jump out of your skin bout to cry scary)
    ~PG 13 (has to be PG13)
    ~Something that isn’t boring
    ~Possibly old (black and white, doesn’t have to be though)

    Please find as many movies as you can. If you are able to find a website that include reviews about the movie too, that would be awesome, but you don’t have to! We don’t plan on going to the movies we just want to like rent a movie and play it at home!

    Thanks in advance!

  28. Chad says

    Thanks for the great tip, seems that there is always something new being added and incorporaated into WordPress. I guess that is why it is my clients favorite CMS. I will surely use this.

  29. geoff rogers says

    Useful tutorial, thanks :) We’re using the wordpress hooks a lot more since 3.2

  30. Felix Jefferson says

    Awfully informative appreciate it, It is my opinion your subscribers may possibly want far more information of this nature keep up the great hard work.

  31. ways to prevent underarm sweating says

    Hey guys love the blog I will add this site to my favorites and visit again .. :)

  32. Andrew Smith says

    Truly enlightening cheers, I believe your current readers will likely want a lot more posts of this nature continue the good work.

  33. Brandon says

    We are in the process of stripping wallpaper from our kitchen and dining room and painting. We have successfully removed all of the wallpaper, except for very hard to access areas, where the wallpaper goes down behind our kitchen counters. We have scraped, used wallpaper stripper, and everything else we can thing of to try to remove it, but there are still several small pieces of wallpaper sticking up from behind the counters that are almost impossible to pull out. We are not going to remove the counters, so is there any other method to try?

  34. Craig says

    Very Nice website. I recently engineered mine and i was searching for some concepts and you gave me a couple of. may i ask you whether or not you developed the web site by youself ?

  35. Zen says

    Hi! Nice article. Gain some insights. A question though: How can i combine this with Facebook logins?

  36. Rodney says

    Very nice blog on this website. It is really difficult to get this kind of with useful information. I am relieved I came upon this site. I will eagerly look forward to your upcoming updates.
    Thanks for sharing it

  37. Madona says

    I’ve been follow your blog for four days now and i should say i am starting to enjoy your article. and now how do i subscribe to your blog? i like, Hi admin, i have bookmarking your site to my regedit, Nearly all of whatever you say is astonishingly legitimate and it makes me wonder why I hadn’t looked at this with this light before. This particular piece really did turn the light on for me personally as far as this specific subject goes. Nevertheless at this time there is actually 1 point I am not really too comfy with so while I attempt to reconcile that with the core theme of the position, allow me see what all the rest of your readers have to point out.Well done.

    thank you

  38. John Smith says

    Truly beneficial appreciate it, I’m sure your current subscribers may very well want considerably more posts like this carry on the great hard work.

  39. Gabriel Jefferson says

    Genuinely enlightening appreciate it, I believe your trusty visitors may perhaps want considerably more content similar to this continue the good content.

  40. Richy says

    one bit of software I use is firebug which is a plugin for firefox. it’s great for just clicking where I want to edit and it shows me the code in the bottom and also the css. very easy and I get everything where I want it.

  41. Traceyl Pitts says

    Extraordinarily informative appreciate it, I do believe your current readers would most likely want way more stories such as this carry on the good work.

  42. Michael Smith says

    Extremely useful thanks, It is my opinion your trusty visitors will likely want more well written articles like that continue the good work.

  43. Sal Goodman says

    These helped me great with my website. and Helped me with a client named Walt!

  44. Andrew Cole says

    Tremendously informative many thanks, There’s no doubt that your current audience could possibly want considerably more writing like that keep up the good work.

  45. HENRY says

    @MackKolarich @jakekring we also need an open API for @twitter-like apps and when people submit/RSVP events, it should sync to calendars

  46. Johnny Anderson says

    Exceptionally interesting thank you, I believe your trusty visitors might just want further blog posts along these lines maintain the good content.

  47. Lanord says

    Excellent post Kevin. I think your experience helped you a lot in writing a great article for us.
    You researched a lot. Many thanks for such a useful information.
    Keep posting.

  48. Jeannette Fine says

    Just thought i would comment and say awesome design, did you code it yourself? Looks great.

  49. says

    Thanks to this article. The treatment of comment form is not as symple as I want, and your publication help me.

    sorry for my durt english.

  50. Andrew Anderson says

    Tremendously educative appreciate it, I presume your visitors may possibly want far more writing similar to this keep up the good hard work.

  51. Alton Taunton says

    I am really enjoying the theme/design of your website. Do you ever run into any browser compatibility issues? A small number of my blog audience have complained about my site not operating correctly in Explorer but looks great in Chrome. Do you have any recommendations to help fix this problem?

  52. Ian says

    Kevin, thank you for this great tutorial! It really helped us a lot and I appreciate your help very much. Best Andreas

  53. Nico Casa says

    Great website, I am enjoying it!! Will come back once again – taking the The Ultimate Guide to WordPress 3.0 Comment Form Customization feeds also, cheers.

  54. John Cole says

    Particularly informative bless you, It is my opinion your visitors might want significantly more reviews like that continue the excellent work.

  55. Andrew Cole says

    Extraordinarily illuminating many thanks, It looks like your followers will likely want a great deal more items like this keep up the excellent hard work.

  56. Kent says

    I wanted to post a quick comment to say thanks to you for the awesome guidelines you are placing on this website. My considerable internet search has finally been honored with high-quality details to share with my contacts. I would declare that we readers actually are undeniably endowed to dwell in a wonderful site with very many lovely professionals with good tips. I feel quite fortunate to have encountered your entire webpages and look forward to plenty of more exciting times reading here. Thanks once more for all the details.

  57. Allan Spinks says

    Thanks , I’ve just been searching for information approximately this topic for a while and yours is the greatest I have came upon till now. However, what about the bottom line? Are you sure concerning the source?

  58. Hayley Johannsen says

    Extremely enlightening appreciate it, I reckon your readers would certainly want a great deal more writing of this nature maintain the great hard work.

  59. Gabriel Anderson says

    Really revealing thank you, I do think your readers might just want far more content along these lines maintain the good content.

  60. Hugh Tayler says

    I intended to compose you that very little word in order to say thanks a lot yet again for these breathtaking tips you have contributed in this article. It is quite pretty generous of you giving without restraint all that many individuals could possibly have distributed for an ebook to generate some cash for themselves, specifically considering that you might have tried it in case you desired. The tactics in addition worked as a fantastic way to be aware that other individuals have the identical desire much like mine to realize way more on the topic of this problem. I think there are millions of more pleasurable times ahead for individuals who look into your blog post.

  61. Michael Jefferson says

    Particularly informative many thanks, I believe your current readers might want far more well written articles like this maintain the excellent work.

  62. Tim Anderson says

    Awfully illuminating thank you, I presume your trusty subscribers could very well want a lot more writing like this continue the good content.

  63. Olaf says

    How would I change the comments form to be shown to “editors” only? This even logged in, subscribers would not be shown the comments form throughout my site. Could you provide the statement(s) I have to add and point where on the code the statements should be placed.

    Thanks a bunch

  64. Sexe says

    Hey, you used to write wonderful, but the last few posts have been kinda boring… I miss your tremendous writings. Past several posts are just a bit out of track! come on!”To dare is to lose one’s footing momentarily. To not dare is to lose oneself.” by Sren Aaby Kierkegaard.

  65. Radde says

    I was browsing the web and came across your website. I absolutely enjoyed reading your posts and looking forward to more great content.

  66. Andriana says

    That is why we love WordPress…easy to learn, easy to install, easy to configure, great presentation layer…

  67. Elvin says

    I wanted to start my own blog and I was looking for your suggestions for which sites you think are the best to start one with. . I want to be able to post pictures, text, and music (maybe).. I only want to use a free blog host..

  68. Torreto says

    I wish to show my affection for your kindness giving support to people that should have help on this content. Your very own dedication to passing the message throughout has been especially advantageous and has usually made ladies just like me to reach their targets. Your personal interesting hints and tips can mean a lot a person like me and extremely more to my colleagues. Best wishes; from all of us.

  69. Jake says

    Hey, I was thinking, do you ever welcome guest content? If that’s the case, can you please let me know what would I have to do to be able to write an article for this blog?

  70. Marty says

    Thanks for a very interesting web site. What else could I get that kind of information written in such an ideal means? I’ve a mission that I am just now working on, and I have been at the look out for such info.

  71. Stephanie says

    This is just what I’ve been looking for. Thanks for the scripts, it really helped me.

  72. Larry says

    Very nice post. I just stumbled upon your weblog and wished to say that I have really enjoyed browsing your blog posts. After all I’ll be subscribing to your rss feed and I hope you write again soon!

  73. Jenna says

    i am working on alot of this now, and want to know what else we can do..question, does all o this require php knowledge?

  74. Elisha Matzke says

    I love your blog and just wanted to tell you how much I appreciate you posting!

  75. Mario Dorizas says

    I’m intrigued by the information you have written in this article. I happened upon your article and I’m glad I did. Your points are valid, well-represented and the article is easy to read and understand.

  76. Arron says

    Been a long time reader of your blog, and just wanted to say keep up the good work!

  77. Chet Woodis says

    Hi, thanks for this. I found your website from bing. If anyone requires any help which is website related, just contact me via my link.

  78. Korian says

    What an inspiring blog you wrote! I totally like the useful info shared in the blog.

  79. Elba Cajulus says

    Frankly, is it realizable to publish 14,000 woodworking plans? It seems that John is the living substantiation! These woodworking plans are appropriate for multifarious projects, starting from coffee eatables plans and shelf plans, through playhouse plans to scullery or harshly branch projects. Further, there is more than story rendition payment all the plans mentioned. Yes, you can rearrange the complete about with combination of plans.

  80. William says

    From sliding automatic doors, safety doorsor full shop facias with aluminium systems, RTJ Solutions are the place to be for any form of door

  81. Squin says

    Thanks for the marvelous posting! I genuinely enjoyed reading it; you can be a great author. I will ensure that I bookmark your blog and will eventually come back from now on. I want to encourage continue your great job, have a nice holiday weekend!

  82. Todd says

    An additional day, another Facebook scam. The latest 1? A series of messages which attempt to trick you into clicking links leading to a fake news report and a rather ridiculous security threat.

  83. Tory Burchard says

    The post is written in very a good manner and it entails much useful information for me. I am happy to find your distinguished way of writing the post. Now you make easy for me to understand and implement the concept. Thank you for the post.

  84. Ardith Goodridge says

    Thanks for the article. It’salways nice finding good help for young professionals online. This was a great read.

  85. ssq says

    I would like to watch your article in my entire life. this article conceives outline novel, the topic has the mental strategy only, the paragraph is clear , fall the rise and fall, the main line is clear, fascinating, mild the extraordinary literature from bottom inside, is witty it may be said, a classic, is a model that my generation should the study.

  86. says

    How can I add tab index to submit button in the new wp comments form? In my theme all I have is 'label_submit' => __( 'Post Comment' ),

  87. Beckord says

    Thanks this is a bunch of info you have, I realy think it will help my website design Business!

  88. Raphael Zindel says

    Is there any approach you possibly can remove me from that service? Thanks!

  89. Robin says

    Youre so cool! I dont suppose Ive read anything like this before. So good to find anyone with some unique ideas on this subject. realy thanks for starting this up. this website is one thing that is wanted on the net, someone with a little bit originality. useful job for bringing one thing new to the web!

  90. Renita Prye says

    Thank for the informative post. It makes a refreshing change someone is taking the time to explain this fully

  91. Walter says

    Very interesting info !Perfect just what I was searching for! I can go through a million blogs and writings and just not find what im looking for. Glad I found it here!!!

  92. Nicky Unrau says

    I can’t tell you how impressed I am with your article. Your insight and unique ideas have inspired me to think about many things contain here. Thanks for this info.

  93. simone says

    hi there,
    great post, it helped me a great deal in customizing my form. I was just wondering whether it is possible to replace the submit button with an image without changing the core file.
    It looks as though there’s no filter that can be easily applied to the input/submit part of the form…anyone has worked out how to get it done properly?
    the only thing I can think of is filtering the whole form output before display and replace the input button with reg expr. It sounds like a dodgy workaround though

  94. Fred Hoyt says

    I don’t know how I hadn’t heard about this till now. Very happy I found this post. Thanks!

  95. Sherie Waltersdorf says

    How do I call a wordpress plugin outside the wordpress folder?

  96. Zandie says

    Your blog is wonderful! I’ll bookmark this site. Maybe somebody knows where I could find something simmilar?

  97. Terry says

    Your article is good too! I think I find I want, The ideas are strongly pointed out and clearly emphasized. Thanks for sharing your thoughts and ideas on this one. Please keep posting about such articles as they really spread useful information. Thanks for this particular sharing. I hope it stays updated, take care.

  98. Demetra Widdison says

    I’ve downloaded Dream-weaver CS4 and now I want to begin creating the website of my dreams, but I have a problem. I kind of need most of the source to be written so I can just fiddle with it. Where can I find some html source website templates that will help me with this.. . Thanks..

  99. George Cloone says

    Hi there! I only want to provide a massive thumbs up regarding the good info you have right here on this post. I’ll be coming back for your blog for additional quickly.

  100. Edan says

    Excellent and I am glad to be a visitant of this double dyed website ! , thankyou for this rare information! .

  101. Peter says

    You actually make it appear really easy with your presentation but I find this topic to be actually something which I think I’d by no means understand. It seems too complicated and extremely huge for me. I’m having a look forward on your next publish, I¡¦ll attempt to get the cling of it!

  102. Maranda Daramola says

    Very good article but if you feel as though you aren’t getting enough traffic to your website,

  103. Julius Pirkl says

    Hi there, my title is Julius Pirkl and I just adore your article. It coveres quite considerably every thing that I wish to do in my spare time and The Ultimate Guide to WordPress 3.0 Comment Form Customization is simply great. Lots of men and women do not think that they are able to truly function from home but a easy Google search shows really some alternatives. My favored place for this kind of strategies and their reviews is Surveys for Cash Vault. It has some quite excellent tips. I hope it assists you too.

  104. Tory says

    I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work it

  105. melissa billips says

    This is a great blog, been looking for something like this for ages. keep up the good work.

  106. Xinshi says

    Does your blog have a contact page? I’m having trouble finding it but I’d like to send you an e-mail. I’ve got a few ideas for your blog you that might be interested in hearing. Either way, great website and I look forward to seeing it develop in the future.

  107. Gerwitz says

    Great post, Love the subject. Whilst I totally agree with what you are saying I dont agree with what Amanda is saying about it. Could you expand a bit on what you are saying.

  108. Jim Anderson says

    Hey there I’m a huge backer of your blog. Hope you keep posting to it regularly.

  109. Kent says

    I agree with ryan. Very similar to the other post. Nice article though, appreciate your work.

  110. says

    Well this is the page I found to remove some of the default comment fields, so thanks for that.

  111. Storm says

    Is there any way to hide the comment form on individual posts, while leaving existing comments, or close comments but leave the existing comments. Don’t want to do it site wide, would be nice if it could be done on a per post basis, or create a category for posts with closed comments, while still displaying the existing comments.

    I have searched everywhere, can’t seem to find a solution.


  112. says

    when i try to copy the code,i find i have to copy line number with the is unconvinient.i am sure there is better code plugins.suggest you use them instead.

  113. says

    i use wordpress for a year,have been using default comment form.get a lot of spam comment,i am gonna add a robo check thing to my comment form.this post is the most helpful is just what i need,thanks.

  114. says


    “The first hook is comment_form_default_fields. This lets us modify the three main fields: author, email, and website. It’s a filter, so we can change things as they pass through it. The fields are stored in an array which contains the html that is output. So it looks sorta like this:”


    “The first hook is comment_form_default_fields. This lets us modify the three main fields: author, email, and website. It’s a filter, so we can change things as they pass through it. The fields are stored in an array which contains the html that is output. So it looks sorta like this:”

    Do you know how much is the chance that 2 different individuals (even if they write about the same topic) use EXACTLY the same wording to explain things?

  115. says

    I found this post before the Otto post and Deluxe Blog Tips post, and I agree – Kevin should’ve given the other guys some credit too!

    Anyway, good post nonetheless, but I found it easier to just edit the “comment-template.php” file in the “wp-includes” folder.

    Is it a bad thing that I did this?

    I understand that anything I change in the “wp-includes” folder could be deleted if I upgraded WordPress, but if I made a back-up first and copied it back over after the update, I should be fine.

  116. Saad Bassi says

    @Ryan & Jeff

    I am afraid this is not applied here. Every one can see the WordPress codex to check any function. A credit would be due if author has got inspiration from them.

    I saw three ebooks which were explaining same function but no credit. If there is a credit due then it can be to WordPress codex :)

    • Lean says

      Yes… that’s true about the WordPress codex to check any function, however there is something called plagiarizing and that’s what Jeff did. Like oe Hana said in the comment above comparing what was in both articles. And here’s a quote of his comment also (there wasn’t really a permalink I could show you so you could click and see yourself)… notice how I didn’t copy and paste his comment and claim it as my own… :)

      “The first hook is comment_form_default_fields. This lets us modify the three main fields: author, email, and website. It’s a filter, so we can change things as they pass through it. The fields are stored in an array which contains the html that is output. So it looks sorta like this:”
      “The first hook is comment_form_default_fields. This lets us modify the three main fields: author, email, and website. It’s a filter, so we can change things as they pass through it. The fields are stored in an array which contains the html that is output. So it looks sorta like this:”
      Do you know how much is the chance that 2 different individuals (even if they write about the same topic) use EXACTLY the same wording to explain things?

  117. Daniel says

    If i add a new input field using filters what happens with the value of the field on submit. Where does it go?

  118. says

    Just left commenting out of my new blog because I had no idea how to style or even find this… thanks alot really helped me out with this.

  119. John W. Vermaes says

    Sadly, comment pages are an often overlooked piece of a website’s puzzle with regard to usability and appearance. It doesn’t really make sense to me, since the comment page is, in my opinion, a very crucial part of a website (assuming you’re looking for feedback / trying to build a community). I think this article is a great stepping stone for pushing a website’s comment page to the forefront during the initial design / development. Thanks for sharing.