{"id":2464,"date":"2026-10-20T08:33:27","date_gmt":"2026-10-20T07:33:27","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/add-link-to-listing-author\/"},"modified":"2026-10-20T08:54:33","modified_gmt":"2026-10-20T07:54:33","slug":"add-link-to-listing-author","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/add-link-to-listing-author\/","title":{"rendered":"How to add a link to the listing author"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Use the GD &gt; Post Meta block or shortcode with the <code>post_author<\/code> key. It shows the name of the user who owns the listing, linked to their author page.<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">&#091;gd_post_meta key=&quot;post_author&quot;&#093;<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Find the template you want to change. The details page template is set in GeoDirectory &gt; Settings &gt; General &gt; Pages &gt; Details Page, and the archive item template (each listing in a list) is the Archive item page on the same screen.<\/li>\n\n\n\n<li>Edit that page and add a GD &gt; Post Meta block, choosing Author as the key, or paste the shortcode above.<\/li>\n\n\n\n<li>Update the page and view a listing.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">By default it shows an icon, the label &#8220;Author:&#8221; and the link. Add <code>show=&quot;value&quot;<\/code> to show only the link. The link text is the user&#8217;s nicename, the URL friendly form of their username.<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">&#091;gd_post_meta key=&quot;post_author&quot; show=&quot;value&quot;&#093;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Where the link goes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The link uses the normal WordPress author URL. On a plain WordPress site that is the author archive. If UsersWP is active, it sends author links to the user&#8217;s UsersWP profile page, unless &#8220;Disable author redirect to UsersWP profile page&#8221; is ticked in the UsersWP general settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GeoDirectory itself has no user profile pages, so UsersWP is the usual way to give listing owners a public profile.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use the GD &gt; Post Meta block or shortcode with the post_author key. It shows the name of the user who owns the listing, linked to their author page. By default it shows an icon, the label &#8220;Author:&#8221; and the link. Add show=&quot;value&quot; to show only the link. The link text is the user&#8217;s nicename, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,432],"class_list":["post-2464","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-how-tos"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2464"}],"version-history":[{"count":2,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2464\/revisions"}],"predecessor-version":[{"id":2721,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2464\/revisions\/2721"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2464"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2464"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}