Solved

remove Website field from WP blog post commenting

Posted on 2013-02-06
4
480 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
Comment Utility
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
Comment Utility
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
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
Comment Utility
That worked perfect, thanks!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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.
This article discusses how to create an extensible mechanism for linked drop downs.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
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…

771 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

9 Experts available now in Live!

Get 1:1 Help Now