Get meta key with value for user

Use get_user_meta() to get the meta data associated with the users in your loop: <?php $roles = array(‘autobuyer’); $users = array(); foreach ( $roles as $role ) { $args = array( ‘role’=>$role, ‘orderby’ => ‘registered’, ‘order’ => ‘ASC’, ‘search_columns’ => ‘nicename’, ‘number’=> 0, ‘date_query’ => array( ‘after’ => ‘October 14st, 2013’, ‘before’ => array( ‘year’ … Read more

Change user URL

Go to Settings > Permalinks and set it up as follows Custom Structure and put . in category base

add a Custom Columns to user

You can use the bellow function for adding custom column to users table: function modify_user_columns($column_headers) { $column_headers[‘custom_field’] = ‘Custom field’; return $column_headers; } add_action(‘manage_users_columns’, ‘modify_user_columns’); function custom_admin_css() { echo ‘<style> .column-custom_field {width: 8%} </style>’; } add_action(‘admin_head’, ‘custom_admin_css’); function user_posts_count_column_content($value, $column_name, $user_id) { if ( ‘custom_field’ == $column_name ) { return ‘Value’; } return $value; } … Read more

Changing the admin User Profile page

You can style the user profile page with CSS by using admin_enqueue_scripts(). Actually rearranging the ordering or structure of the content might require hooking into or overriding Advanced Custom Fields in some way, though.