Solved

remove Website field from WP blog post commenting

Posted on 2013-02-06
4
487 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn how to dynamically set the form action using jQuery.

749 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