Title: Grindabit's Replies | WordPress.org

---

# Grindabit

  [  ](https://wordpress.org/support/users/grindabit/)

 *   [Profile](https://wordpress.org/support/users/grindabit/)
 *   [Topics Started](https://wordpress.org/support/users/grindabit/topics/)
 *   [Replies Created](https://wordpress.org/support/users/grindabit/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/grindabit/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/grindabit/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/grindabit/engagements/)
 *   [Favorites](https://wordpress.org/support/users/grindabit/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Remove Option in user profile to change public displayname](https://wordpress.org/support/topic/do-you-want-to-remove-the-option-for-users-to-change-their-display-name/)
 *  Thread Starter [Grindabit](https://wordpress.org/support/users/grindabit/)
 * (@grindabit)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/do-you-want-to-remove-the-option-for-users-to-change-their-display-name/#post-5258439)
 * Here is the plugin I installed in case someone else needs it.
 * > <?php
   >  /** * Plugin Name: Remove_username * Plugin URI: [http://URI_Of_Page_Describing_Plugin_and_Updates](http://URI_Of_Page_Describing_Plugin_and_Updates)*
   > Description: Removes ability for user to change public display name. * Version:
   > The Plugin’s Version Number, e.g.: 1.0 * Author: Shawn Hooper * Author URI:
   > [http://URI_Of_The_Plugin_Author](http://URI_Of_The_Plugin_Author) * License:
   > GPL2 */ add_action(‘show_user_profile’, ‘remove_display_name’); add_action(‘
   > edit_user_profile’, ‘remove_display_name’);
   > function remove_display_name($user) { ?>
   >  <script> jQuery(document).ready(function(){
   > jQuery(‘#display_name’).parent().parent().hide(); }); </script> <?php }
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Remove Option in user profile to change public displayname](https://wordpress.org/support/topic/do-you-want-to-remove-the-option-for-users-to-change-their-display-name/)
 *  Thread Starter [Grindabit](https://wordpress.org/support/users/grindabit/)
 * (@grindabit)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/do-you-want-to-remove-the-option-for-users-to-change-their-display-name/#post-5258433)
 * awesome! thanks for the help! It worked!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Remove Option in user profile to change public displayname](https://wordpress.org/support/topic/do-you-want-to-remove-the-option-for-users-to-change-their-display-name/)
 *  Thread Starter [Grindabit](https://wordpress.org/support/users/grindabit/)
 * (@grindabit)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/do-you-want-to-remove-the-option-for-users-to-change-their-display-name/#post-5258421)
 * Hey Shawn,
 * Thanks for the reply, So to create a plugin file I would just save that code 
   as a php file, upload it to the plugins directory then activate it?
 * or…if I was to just add it to the functions file…where would I add that?

Viewing 3 replies - 1 through 3 (of 3 total)