WordPress.org

Ready to get started?Download WordPress

Forums

Remove field to post users website (7 posts)

  1. dbyway
    Member
    Posted 3 years ago #

    I don't want people to be able to link their name to their website because people only post to have others go to their site so there's a lot of spam. What would I have to do to remove the 'user website' field.

    site

  2. techhacking
    Member
    Posted 3 years ago #

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    That post suggests modifying core WordPress files - which is a Very Bad Idea(tm).
    If you don't want display site urls in your comment list, simply create a custom comment display ising a custom callback in wp_list_comments().

  4. techhacking
    Member
    Posted 3 years ago #

    I did not explore other methods, however, you're simply commenting two lines out of a php file. I suggested backing up and using a text editor, but to mess something this simple up is actually quite hard.

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    to mess something this simple up is actually quite hard.

    Not from from what I've seen - especially if you're not used to PHP. Plus you would also have to repeat the process every time you upgraded WP.

    On a more general note, hacking core files can compromise your site's security unless you really, really, know what you're doing.

  6. techhacking
    Member
    Posted 3 years ago #

    I am curious to see how commenting out those two lines would compromise site security. In any case, I looked up writing plugins and found that creating a plugin is the easiest solution since you don't have to worry about theme or core file updates. I have updated the post explaining how to create a plugin to remove the website field.

    http://techhacking.com/2011/02/04/stop-comment-form-spam-in-the-website-field/

  7. watermelonkid
    Member
    Posted 2 years ago #

    Original question was never answered--is there a way to hide or turn/off the Website input on the WordPress User page. It is possible to hide the personal options, it is possible to hide the contact info, but getting rid of a few of these inputs (Website, specifically), is proving difficult.

Topic Closed

This topic has been closed to new replies.

About this Topic