Geir Fjærli
asked 7 years ago

Hi. When looking at the users in the dashboard they all have a user_id as part of the URL, which I can use to add them to the Team section non the page. However, the user that was created fro me when I installed the quick start does not show a user_id, so I cannot add myself to the Team. I could probably create a new user as a duplicate of the original one, but I would rather not do that. I am not sure if this user doesn’t have an ID, or if it is not displayed. Is there a way I could assign a user_id to this user, if it has none, or get it to display in the URL if it does?

2 Answers
Geir Fjærli
answered 7 years ago

Ok, so I was able to find the ID by simply looking at the database with MySQLWorkbench.
Still, this might be something worth fixing for less technically daring users.

DominicStaff
answered 7 years ago

Hi Geir !
– To find the User ID, In the WP-admin screen, click on “Users” and hover over the username of the user whose user ID you’re searching for.
The User ID is shown in URL
See the screenshot:
There’s also an easier way to find a users user ID number: Please move through Page > Add new, click the “Team” section on the mceToolbar then select the name of the user in the “Include users” frame. After inserting user in to post, you will get the ID of the user. See the screenshot:

Hope this helps !

Geir Fjærli
replied 7 years ago

Thanks Dominic. That second way worked just fine. The problem with the first one is that for this particular user the user_id is not part of the URL. When the wordpress setup installs this user, it apparently creates a different URL. It points to wp-admin/profile.php, unlike the others that (lil win your screenshot) points to wp-admin/user-edit.php.

Try to install the quickstart and look at the created user and you should see the same.

The team button in the editor toolbar works great, so thanks!

Geir 🙂

Jackie Lord
replied 7 years ago

Hover on the “Posts” column. And you can see your own ID

Geir Fjærli
replied 7 years ago

Thanks.

Powered by DW Question & Answer Pro