{"id":770,"date":"2025-03-24T14:27:38","date_gmt":"2025-03-24T14:27:38","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/gd-post-claim\/"},"modified":"2025-04-03T15:23:59","modified_gmt":"2025-04-03T14:23:59","slug":"gd-post-claim","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/claim-listings\/gd-post-claim\/","title":{"rendered":"GD > Post Claim"},"content":{"rendered":"\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-success mb-3\" role=\"alert\"><span class=\"fas fa-check-circle me-2\"><\/span><span class=\"flex-grow-1\">All Widgets come as Widgets, Shortcodes or Blocks. Learn more about our <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/what-makes-geodirectory-widgets-special\/\">Super Duper Widgets<\/a>.<\/span><\/div>\n\n\n\n<p>The <strong>Post Claim <\/strong>widget displays&nbsp;a button to allow your visitors and listing owners to claim listings. It can be displayed on archive pages as well, but it is recommended to use it on the Listing Details page.<\/p>\n\n\n\n<p>The <strong>post_author<\/strong> key is actually added to post meta when the Claim Listings extension is activated, and follows claim logic.\u00a0If the listing is claimed, then the author name is shown &#8212; and hidden if the listing is not claimed.<\/p>\n\n\n\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-info mb-3\" role=\"alert\"><span class=\"fas fa-info-circle me-2\"><\/span><span class=\"flex-grow-1\">In order to use the Post Claim widget, you need to have the <a href=\"https:\/\/wpgeodirectory.com\/downloads\/claim-listings\/\">Claim Listings<\/a> extension installed and activated.<\/span><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Widget Options<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Title<\/strong> <strong>&#8211;<\/strong> The title for the widget.\u00a0<\/li>\n\n\n\n<li><strong>Text &#8211; <\/strong>The button or link text.<\/li>\n\n\n\n<li><strong>Output Type <strong>(<a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/hidden-advanced-settings\/\">A<\/a>) &#8211;<\/strong> <\/strong>You can choose whether to output a button or a simple link. <\/li>\n\n\n\n<li><strong>Show\/Hide Options &#8211; <\/strong>Choose where the widget should be shown. You can choose to display it:\n<ul class=\"wp-block-list\">\n<li>Everywhere,\u00a0<\/li>\n\n\n\n<li>Only on GeoDirectory pages,\u00a0<\/li>\n\n\n\n<li>Only on specific pages,\u00a0<\/li>\n\n\n\n<li>Everywhere on the site, excluding certain specific pages.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><div><strong>GD Pages &#8211; <\/strong>You may choose the pages that should be included or excluded.<\/div><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Example Output<\/h2>\n\n\n\n<p>The widget outputs a button (or a simple link) depending on the <strong>Output Type <\/strong>that you have chosen. Here is the button output:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-xje9qOYlj8.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>After clicking the button or link, a lightbox popup appears with a form that the user can fill in order to submit a listing claim.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-LpJKWsBPoZ.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Post Claim widget displays&nbsp;a button to allow your visitors and listing owners to claim listings. It can be displayed on archive pages as well, but it is recommended to use it on the Listing Details page. The post_author key is actually added to post meta when the Claim Listings extension is activated, and follows [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[570,614,554],"article\/categories":[213,401],"class_list":["post-770","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-claim-listings","gd_place_tags-widgets-and-shortcodes","gd_place_tags-geodirectory-extensions","gd_placecategory-extensions-features","gd_placecategory-claim-listings"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/770","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=770"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/770\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=770"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=770"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}