• I may not have understood what your plugin is supposed to do.
    I need to make the first name as the display name.
    I activated your plugin with the button that should perform the operation.
    He just deleted the display name fields and did not change anything in the other fields.
    Is your plugin a solution to what I need? Or does your plugin not do it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am searching for the same feature. I want to display first name as display name only. Unfortunately this plug in doesnt serve this feature (anymore). Is there an Update planned solving this?

    Hi there,

    This is possible using the ffl_display_name_order filter in the plugin. Here is an example of using that filter to set display name as only first: https://gist.github.com/kimcoleman/613b90e6ff2b092318eed48c5b6c04bf

    Best,
    Kim

    Thank you for your help. Unfortunately, your code did not work out for me. Maybe because I use Thrive Themes as editor. For me following code embedded in functions.php was the solution:

    add_filter(
    ‘wp_pre_insert_user_data’,
    function ( $data ) {
    $data[‘display_name’] = isset( $_REQUEST[‘name’] ) ? $_REQUEST[‘name’] : $data[‘display_name’];
    return $data;
    }
    );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make your first name like display name’ is closed to new replies.