{"id":214,"date":"2019-02-10T10:47:43","date_gmt":"2019-02-10T09:47:43","guid":{"rendered":"https:\/\/www.molongui.com\/help\/how-to-find-the-author-id\/"},"modified":"2022-01-21T16:04:06","modified_gmt":"2022-01-21T15:04:06","slug":"how-to-find-the-author-id","status":"publish","type":"post","link":"https:\/\/www.molongui.com\/help\/how-to-find-the-author-id\/","title":{"rendered":"How to find the author ID"},"content":{"rendered":"\n<p>The Molongui Authorship plugin allows you to display the author box anywhere in your site thanks to the use of <a href=\"https:\/\/www.molongui.com\/kb\/using-shortcodes\/\">shortcodes<\/a>. 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.<\/p>\n\n\n\n<p>In order to get that &#8220;ID&#8221;, you can proceed following one of the following two methods:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Molongui way<\/h3>\n\n\n\n<p><strong>How to find the ID of a guest author<\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Log into your site\u2019s Dashboard (the <a href=\"https:\/\/en.support.wordpress.com\/dashboard\/\" target=\"_blank\" rel=\"noreferrer noopener\">admin section of WordPress<\/a>).<\/li><li>Go to <strong>Guest authors &gt; All guest authors<\/strong>.<\/li><li>Look for the column &#8220;ID&#8221; at the right end of the table. That&#8217;s the user ID.<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.molongui.com\/help\/wp-content\/uploads\/sites\/3\/2022\/01\/kb_how_to_find_user_id_3.png\"><img decoding=\"async\" src=\"https:\/\/www.molongui.com\/help\/wp-content\/uploads\/sites\/3\/2022\/01\/kb_how_to_find_user_id_3.png\" alt=\"\" class=\"wp-image-3316\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>How to find the ID of a registered user<\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Log into your site\u2019s Dashboard (the <a href=\"https:\/\/en.support.wordpress.com\/dashboard\/\" target=\"_blank\" rel=\"noreferrer noopener\">admin section of WordPress<\/a>).<\/li><li>Go to <strong>Users &gt; All users<\/strong>.<\/li><li>Look for the column &#8220;ID&#8221; at the right end of the table. That&#8217;s the user ID.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">The WordPress way<\/h3>\n\n\n\n<p><strong>How to find the ID of a registered user<\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Log into your site\u2019s Dashboard (the <a href=\"https:\/\/en.support.wordpress.com\/dashboard\/\" target=\"_blank\" rel=\"noreferrer noopener\">admin section of WordPress<\/a>).<\/li><li>Go to <strong>Users &gt; All users<\/strong>.<\/li><li>Choose the user and go to his profile.<\/li><li>Look at the URL of the page. It will be something like http:\/\/yoursite.com\/wp-admin\/user-edit.php?<strong>user_id=34<\/strong>&amp;wp_http_referer=%2Ftest%2Fwp-admin%2Fusers.php<\/li><\/ol>\n\n\n\n<p>&#8220;user_id&#8221; argument value in the URL gives the actual user ID of that particular author, which is \u201834\u2019 in the current case.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.molongui.com\/help\/wp-content\/uploads\/sites\/3\/2022\/01\/kb_how_to_find_user_id.png\"><img decoding=\"async\" src=\"https:\/\/www.molongui.com\/help\/wp-content\/uploads\/sites\/3\/2022\/01\/kb_how_to_find_user_id.png\" alt=\"kb_how_to_find_user_id\" class=\"wp-image-2738\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>How to find the ID of a guest author<\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Log into your site\u2019s Dashboard (the <a href=\"https:\/\/en.support.wordpress.com\/dashboard\/\" target=\"_blank\" rel=\"noreferrer noopener\">admin section of WordPress<\/a>).<\/li><li>Go to <strong>Guest authors &gt; All guest authors<\/strong>.<\/li><li>Choose the guest author and go to his profile.<\/li><li>Look at the URL of the page. It will be something like http:\/\/yoursite.com\/wp-admin\/post.php?<strong>post=303<\/strong>&amp;action=edit<\/li><\/ol>\n\n\n\n<p>&#8220;post&#8221; argument value in the URL gives the actual ID of that particular guest author, which is \u2018303\u2019 in the current case.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.molongui.com\/help\/wp-content\/uploads\/sites\/3\/2022\/01\/kb_how_to_find_user_id_2.png\"><img decoding=\"async\" src=\"https:\/\/www.molongui.com\/help\/wp-content\/uploads\/sites\/3\/2022\/01\/kb_how_to_find_user_id_2.png\" alt=\"kb_how_to_find_user_id_2\" class=\"wp-image-2740\"\/><\/a><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,1],"tags":[12],"class_list":["post-214","post","type-post","status-publish","format-standard","hentry","category-authorship","category-doc","tag-howto"],"_links":{"self":[{"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":1,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts\/214\/revisions"}],"predecessor-version":[{"id":571,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/posts\/214\/revisions\/571"}],"wp:attachment":[{"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/media?parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/categories?post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.molongui.com\/help\/wp-json\/wp\/v2\/tags?post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}