Title: Customize comment form
Last modified: August 22, 2016

---

# Customize comment form

 *  Resolved [queengab](https://wordpress.org/support/users/queengab/)
 * (@queengab)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/customize-comment-form-3/)
 * Hi,
 * i’m setting up a website with untitled theme.
    Is a terrific theme and oi love
   it. Now i have a little problem. I’d like to change the comment form for all 
   posts…
 * Show only comment field and title leave a reply…
 * I use this snipet on funxtions to remove the fields…
 * /* Modifiche al comment form */
    function remove_comment_fields($fields) { unset(
   $fields[‘author’]); unset($fields[’email’]); unset($fields[‘url’]); return $fields;}
   add_filter(‘comment_form_default_fields’,’remove_comment_fields’);
 * But i also want to delete the form-allowed-tags div to delete also this part.
   And diminuishing the comment form field width.
 * Comments.php isn’t my file but where can i find the right file to do this?
 * Gabriele

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Maria Antonietta Perna](https://wordpress.org/support/users/antonietta456/)
 * (@antonietta456)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/customize-comment-form-3/#post-5186597)
 * Hi Queengab,
 * What about using CSS display:none on the form allowed tags div to hide it from
   the page? You could modify the appropriate template file, but I think the cleanest
   option lies with CSS. You can also decrease the width of the comment form fields
   using CSS.
 * I hope this helps 🙂
    – Maria Antonietta
 *  Thread Starter [queengab](https://wordpress.org/support/users/queengab/)
 * (@queengab)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/customize-comment-form-3/#post-5186601)
 * Hi,
 * i solve my first issue
    (change the comment form text area size) thanks to this
   article [http://wpsites.net/web-design/customize-comment-field-text-area-label/](http://wpsites.net/web-design/customize-comment-field-text-area-label/)
 * Now perhaprs i can’t find how to don’t show form-allowed-tags div at the bottom
   of the page.
 * Thakns
    Gabriele
 *  [Maria Antonietta Perna](https://wordpress.org/support/users/antonietta456/)
 * (@antonietta456)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/customize-comment-form-3/#post-5186604)
 * Gabriele, posta un link per accedere al tuo website per favore. Questo mi permette
   di identificare gli elementi HTML per nascondere la form-allowed-tags. Grazie!
 *  Thread Starter [queengab](https://wordpress.org/support/users/queengab/)
 * (@queengab)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/customize-comment-form-3/#post-5186610)
 * Grazie Mariantonietta per seguire questo post il 13 agosto!
 * My site is under costruction and isn’t now on the web.
    I’d like to avoid to 
   use css because I’m not going to create a child theme and i’d like to change 
   directly singles php file or by functions.php.
 * Anyway this block ios inside a p with class “form-allowed-tags” so with css yes
   ok, it’s easy to say to class display:none. But i think is not the best solution
   because i want to delete the block not only don’t show it.
 * But i think for now i can follow your suggest.
 * Grazie mille per la tua disponibilità.
    Gabriele
 *  [Maria Antonietta Perna](https://wordpress.org/support/users/antonietta456/)
 * (@antonietta456)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/customize-comment-form-3/#post-5186621)
 * Gabriele, you don’t need a child theme to add CSS if you don’t want to. If your
   theme hasn’t a built-in custom CSS editor, use this great free plugin: [https://wordpress.org/plugins/simple-custom-css/](https://wordpress.org/plugins/simple-custom-css/)
 * On the other hand, it’s when you modify template files that you need a child 
   theme the most. In fact, when the time comes to update your theme, what happens
   to your customizations? They’ll be lost and your site will look broken.
 * In this case, the form-allowed-tags comes from the call to comments_template();
   which is a wordpress core template. Therefore, I think the easiest and cleanest
   way to solve this is using CSS.
 * Buona fortuna e se hai altre domande posta pure 🙂
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/customize-comment-form-3/#post-5186805)
 * queengab – are you all set with this? Looks like you got some great advice from
   Maria Antonietta on when to use CSS vs. a child theme!
 * If you still need help, just let me know and we can take a look.
 *  Thread Starter [queengab](https://wordpress.org/support/users/queengab/)
 * (@queengab)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/customize-comment-form-3/#post-5186836)
 * Hi to all,
 * and thanks for your help.
    I definitely use css method described by antonietta.
   But insert my hidden class directly to css.
 * Thanks!
 * Gabriele

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Customize comment form’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/untitled/1.1.9/screenshot.png)
 * Untitled
 * [Support Threads](https://wordpress.org/support/theme/untitled/)
 * [Active Topics](https://wordpress.org/support/theme/untitled/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/untitled/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/untitled/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [queengab](https://wordpress.org/support/users/queengab/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/customize-comment-form-3/#post-5186836)
 * Status: resolved