Solved

remove Website field from WP blog post commenting

Posted on 2013-02-06
4
482 Views
Last Modified: 2013-02-07
I have a wordpress site here http://www.kitchensofdenver.com/pinkberry/ but want to remove the ability for the user to have to submit a Website url.  How do I hide or remove that field from that form?
0
Comment
Question by:COwebmaster
  • 2
4 Comments
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 38862695
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 38862697
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 38862740
The CSS method above is not the best way.

Use the first method linked to (add a filter to functions.php for the theme).

function remove_comment_fields($fields) {
    unset($fields['url']);
    return $fields;
}
add_filter('comment_form_default_fields','remove_comment_fields');

Open in new window

0
 

Author Closing Comment

by:COwebmaster
ID: 38864333
That worked perfect, thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now