1. Molongui
  2. >
  3. Docs
  4. >
  5. Molongui Authorship
  6. >
  7. Howto
  8. >
  9. How to find the author ID

How to find the author ID

The Molongui Authorship plugin allows you to display the author box anywhere in your site thanks to the use of shortcodes. The shortcode will require you to indicate the ID of the author whose info will be displayed, it can be any registered user or guest-author on your site, not the one who authorizes the page it will be displayed on.

In order to get that “ID”, you can proceed following one of the following two methods:

The Molongui way

How to find the ID of a guest author:

  1. Log into your site’s Dashboard (the admin section of WordPress).
  2. Go to Guest authors > All guest authors.
  3. Look for the column “ID” at the right end of the table. That’s the user ID.

How to find the ID of a registered user:

  1. Log into your site’s Dashboard (the admin section of WordPress).
  2. Go to Users > All users.
  3. Look for the column “ID” at the right end of the table. That’s the user ID.

The WordPress way

How to find the ID of a registered user:

  1. Log into your site’s Dashboard (the admin section of WordPress).
  2. Go to Users > All users.
  3. Choose the user and go to his profile.
  4. Look at the URL of the page. It will be something like http://yoursite.com/wp-admin/user-edit.php?user_id=34&wp_http_referer=%2Ftest%2Fwp-admin%2Fusers.php

“user_id” argument value in the URL gives the actual user ID of that particular author, which is ‘34’ in the current case.

kb_how_to_find_user_id

How to find the ID of a guest author:

  1. Log into your site’s Dashboard (the admin section of WordPress).
  2. Go to Guest authors > All guest authors.
  3. Choose the guest author and go to his profile.
  4. Look at the URL of the page. It will be something like http://yoursite.com/wp-admin/post.php?post=303&action=edit

“post” argument value in the URL gives the actual ID of that particular guest author, which is ‘303’ in the current case.

kb_how_to_find_user_id_2
Was this article helpful to you? Yes No

How can we help?