{"id":1012,"date":"2020-03-15T01:10:40","date_gmt":"2020-03-15T01:10:40","guid":{"rendered":"https:\/\/wpgeodirectory.com\/docs-v2\/design\/gd_author_actions\/"},"modified":"2020-03-15T01:51:30","modified_gmt":"2020-03-15T01:51:30","slug":"gd_author_actions","status":"publish","type":"docs","link":"https:\/\/wpgeodirectory.com\/docs-v2\/design\/gd_author_actions\/","title":{"rendered":"GD > Author Actions"},"content":{"rendered":"<p>GD > Author Actions displays links for the Listing Owner (author) to manage their listing. <\/p>\n<p>Links can include &#8220;Edit&#8221;, &#8220;Delete&#8221;, &#8220;Renew&#8221;, &#8220;Upgrade&#8221;, and &#8220;Add Franchise&#8221;<\/p>\n<p>The appropriate links are displayed automatically. Edit and Delete links can be adjusted (on\/off) with options.<\/p>\n<h3><a href=\"#settings\" id=\"settings\">Settings<\/a><\/h3>\n<p><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2020\/03\/gda-1.jpg\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-1014\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2020\/03\/gda-1.jpg 1358w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2020\/03\/gda-1-300x124.jpg 300w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2020\/03\/gda-1-768x318.jpg 768w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2020\/03\/gda-1-1024x424.jpg 1024w\" sizes=\"(max-width: 1358px) 100vw, 1358px\" \/><\/p>\n<pre><code class='html'>[gd_author_actions hide_edit=\"1&#8243; hide_delete=\"1&#8243; author_page_only=\"1&#8243;]<\/code><\/pre>\n<h3><a href=\"#edit\" id=\"edit\">Edit Link<\/a><\/h3>\n<ul>\n<li>Edit is shown to the Listing Owner (author) or Administrator users.<\/li>\n<li>Edit link will open the frontend editor, an important feature for keeping site users out of the backend (\/wp-admin\/) part of the site.<\/li>\n<li>Edit link can be disabled in the widget or block, or in the shortcode with the option:<\/li>\n<li>\n<pre><code class='html'>hide_edit=\"1&#8243;<\/code><\/pre>\n<\/li>\n<\/ul>\n<p><strong>Hide the Edit Link<\/strong><\/p>\n<pre><code class='html'>[gd_author_actions hide_edit=\"1&#8243; author_page_only=\"1&#8243;]<\/code><\/pre>\n<h3><a href=\"#delete\" id=\"delete\">Delete Link<\/a><\/h3>\n<ul>\n<li>Delete is shown to the Listing Owner (author) or Administrator users.<\/li>\n<li>Delete link will send the listing to the trash or delete it permanently, based on the setting in <strong>GD &#8211; Settings &#8211; General &#8211; Listing Settings &#8211; User deleted post<\/strong>.<\/li>\n<li>Delete link can be disabled in the widget or block, or in the shortcode with the option:<\/li>\n<li>\n<pre><code class='html'>hide_delete=\"1&#8243;<\/code><\/pre>\n<\/li>\n<\/ul>\n<p><strong>Hide the Delete Link<\/strong><\/p>\n<pre><code class='html'>[gd_author_actions hide_delete=\"1&#8243; author_page_only=\"1&#8243;]<\/code><\/pre>\n<h3><a href=\"#show\" id=\"show\">Show the Author Action Links Everywhere<\/a><\/h3>\n<p>Use this option if you are showing user&#8217;s their listings on a page other than the author page, like a WordPress page. This is not the default because it impacts performance to load the links on every page.<\/p>\n<pre><code class='html'>[gd_author_actions author_page_only=\"0&#8243;]<\/code><\/pre>\n<h3><a href=\"#upgrade\" id=\"upgrade\">Upgrade Link<\/a><\/h3>\n<p>GD Author Actions will display an &#8216;Upgrade&#8217; link that will the user to choose a new price package.<\/p>\n<p>The &#8216;Upgrade&#8217; link only shows when the listing has a package that has the option &#8216;Has Upgrades&#8217; checked.<\/p>\n<p><a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/places\/packages\/\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/wpgeodirectory.com\/docs-v2\/places\/packages\/<\/a><\/p>\n<h3><a href=\"#renew\" id=\"renew\">Renew Link<\/a><\/h3>\n<p>GD Author Actions will display a &#8216;Renew&#8217; link that will open the the listing to the Add Listing page and allow the user to choose a new price package.<\/p>\n<p>The &#8216;Renew&#8217; link only shows when the listing has the &#8216;Expired&#8217; status. For a listing to be set to be Expired, the price package must be set to Downgrade to &#8216;Expired&#8217;.<\/p>\n<p><a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/places\/packages\/\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/wpgeodirectory.com\/docs-v2\/places\/packages\/<\/a><\/p>\n<h3><a href=\"#franchise\" id=\"franchise\">Add Franchise<\/a><\/h3>\n<p>GD Author Actions will display an &#8216;Add Franchise&#8217; link that will open a new listing on the Add Listing. The new listing will be a franchise linked to the parent listing.<\/p>\n<p>The &#8216;Add Franchise&#8217; link only shows when the listing has the &#8216;Has Franchise&#8217; field Checked.<\/p>\n<p><a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/franchise\/\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/wpgeodirectory.com\/docs-v2\/addons\/franchise\/<\/a><\/p>\n","protected":false},"featured_media":0,"parent":806,"menu_order":11,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/1012"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/comments?post=1012"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/1012\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/806"}],"prev":[{"title":"GD > Dynamic Content","link":"https:\/\/wpgeodirectory.com\/docs-v2\/design\/gd_dynamic_content\/","href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/1008"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/media?parent=1012"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/doc_tag?post=1012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}