[wordpress]how to remove site option in comment

Status
Not open for further replies.

VagosDown

Banned
Banned
117
2011
9
0
hi every one can you tell me how to remove site option in wordpress comment section

e02650d83b.jpg


see pic for site option
 
11 comments
Look into the theme's templates & edit the comments.php file..

EDIT: same thing already said...pressed the button a little late I guess.
 
<p>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url"><small><?php _e('Website','eGamer') ?></small></label>
</p>



REMOVE ^ from comments.php

check wwereleases.com it has no url in comments section
 
Open wp-comments-post.php in wordpress root directory and edit it.


Search for this line

PHP:
$comment_author_url   = ( isset($_POST['url']) )     ? trim($_POST['url']) : null;
Remove it and save the file (dont close the file yet) and recheck the post to see if url option is gone from there :) If all is done, close the file, if no or anyshit happens, again add that line there and save again.

[SLIDE]http://screensnapr.com/e/gupBCV.jpg[/SLIDE]




Ah, same things said above aswell (y)

Just search for term "Website" in comments.php in theme folder and remove the subsequent code and save it
 
I know that you do it to prevent auto comment spam.
So, you dont have to edit comment.php file, just add captcha verification into comment post.
 
Status
Not open for further replies.
Back
Top