Solved

remove Website field from WP blog post commenting

Posted on 2013-02-06
4
483 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

813 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

17 Experts available now in Live!

Get 1:1 Help Now