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

Is it possible to create a custom admin page for users?

Assuming that you want to show only some Admin page items to a user-type, this page might get you started: https://www.johnparris.com/how-to-restrict-access-to-menu-items-in-the-wordpress-admin/ . Not much detail there, but might get you started. You would then limit access based on the person’s login level (Editor, Subscriber, etc). Or create a new login-level, and use that to limit … Read more

How can I save cookies to members

You can can read the cookie and check if the current user is logged in using get_current_user_id(). If they are just save the cookie value to the user_meta. $cookie_name=””; if( isset( $_COOKIE[$cookie_name] ) ) { $user_id = get_current_user_id(); if( $user_id ) { $meta_key = $cookie_name; $meta_value = $_COOKIE[$cookie_name]; update_user_meta( $user_id, $meta_key, $meta_value ); } }

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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)