Skip to:
Content
Pages
Categories
Search
Top
Bottom

Force user display as username only

  • @kubajuncewicz

    Participant

    Hello,

    I need to set the display name for users only to username – any other option can’t be active. Is there any way I can get that done?

Viewing 3 replies - 1 through 3 (of 3 total)
  • @robin-w

    Moderator

    this (surprisingly) is not easy within bbpress.

    You would do better to force worpdress to have display name as username eg

    https://wordpress.stackexchange.com/questions/138034/default-display-name-as-username

    @mike80222

    Participant

    The technique that Robin is recommending works for me, with the caveat that if you happen to be using memberpress and BuddyPress also, you may run into some other issues. If that happens to be the case, please post again.

    @kubajuncewicz

    Participant

    Hey, thank you for that answer. I combined it with

    
    <script>
         jQuery( document ).ready(function() {
          jQuery('#nickname').prop('disabled', 'disabled');
          });
    </script>
    

    And it worked as I needed 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar