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
Solved

remove Website field from WP blog post commenting

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
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).

839 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