• I would like to view results from some of the custom fields i created in each users core wordpress profile as a table on a single webpage or excel spreadsheet.

    For example if one of the custom required fields of a new user is: do you own a pet?
    I have created a drop down with YES or NO.
    If i add a new user and select yes from a drop down selection is there a plugin that will display the result YES with other info from the user profile?

    The reason i want to set this up is my client would like to see what users have a pet within a table type layout. I would like to have the user name and the heading pet in a column and then yes in a table box below it.

    • This topic was modified 4 years, 9 months ago by VERTEXMEDIA.
    • This topic was modified 4 years, 9 months ago by VERTEXMEDIA.
    • This topic was modified 4 years, 9 months ago by VERTEXMEDIA.
    • This topic was modified 4 years, 9 months ago by VERTEXMEDIA.
    • This topic was modified 4 years, 9 months ago by VERTEXMEDIA.
    • This topic was modified 4 years, 9 months ago by VERTEXMEDIA.
    • This topic was modified 4 years, 9 months ago by VERTEXMEDIA.
    • This topic was modified 4 years, 9 months ago by VERTEXMEDIA.
    • This topic was modified 4 years, 9 months ago by VERTEXMEDIA.
    • This topic was modified 4 years, 9 months ago by VERTEXMEDIA.
Viewing 1 replies (of 1 total)
  • Hello,

    you can add below code for display user name.

    <?php global $current_user;
    wp_get_current_user();
    echo 'Username: ' . $current_user->user_login . "\n";
    echo 'User display name: ' . $current_user->display_name . "\n";
    ?>

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Display data from user profile fields’ is closed to new replies.