{"id":872,"date":"2025-03-24T14:27:54","date_gmt":"2025-03-24T14:27:54","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-to-lock-franchise-fields\/"},"modified":"2025-04-03T15:24:15","modified_gmt":"2025-04-03T14:24:15","slug":"how-to-lock-franchise-fields","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/franchise-manager\/how-to-lock-franchise-fields\/","title":{"rendered":"How to Lock Franchise Fields?"},"content":{"rendered":"<p>\n\t In Franchise Manager extension, you can lock certain franchise fields. All Franchise listings will then share those &#8220;locked&#8221; fields with the Main listing, and will not have their own individual values for those fields.&nbsp;<\/p>\n<p>\n\t For instance, if &#8220;Comments&#8221; are locked,&nbsp;all franchises will show the comments section from the main listing&nbsp;and any comments\/reviews that are left by users will show up for all listings, be it the main or a franchise listing.&nbsp;<\/p>\n<h2>How to Lock Franchise Fields?<\/h2>\n<dl>\n<dt>\n\t1\n\t<\/dt>\n<dd>\n\tYou can lock fields when adding a new main listing. First, head to <strong>CPT &gt; Add New.&nbsp;<\/strong> <\/dd>\n<p>\t<img width=\"160\" height=\"221\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-2Mj5u1IQQE.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/p>\n<dt>\n\t2\n\t<\/dt>\n<dd>\n\tNext, in the <strong>CPT Information <\/strong>section, be sure to check <strong>&#8220;Has Franchise?&#8221; <\/strong>option to Yes.&nbsp;\n\t<\/dd>\n<p>\t<img width=\"816\" height=\"398\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-057nQvE1yV.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-057nQvE1yV.png 816w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-057nQvE1yV-300x146.png 300w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-057nQvE1yV-768x375.png 768w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/p>\n<dt>\n\t3\n\t<\/dt>\n<dd>\n\tFollowing that, you can select the fields to lock in the <strong>Lock Franchise Fields <\/strong>section.&nbsp;\n\t<\/dd>\n<\/dl>\n<p>\n\t <img width=\"801\" height=\"375\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-H4glV3v6ZP.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-H4glV3v6ZP.png 801w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-H4glV3v6ZP-300x140.png 300w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-H4glV3v6ZP-768x360.png 768w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><\/p>\n<p>\n\t You can lock most of the available fields, including comments.&nbsp;<\/p>\n<p>\n\tOptionally, you can also set the <strong>default locked fields<\/strong> with a comma-separated list when specifying Franchise fields.&nbsp;<\/p>\n<p>\n\t<img width=\"600\" height=\"594\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/8f0de87c876fc236be47a661b4baabd9.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/8f0de87c876fc236be47a661b4baabd9.png 600w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/8f0de87c876fc236be47a661b4baabd9-300x297.png 300w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/8f0de87c876fc236be47a661b4baabd9-150x150.png 150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Franchise Manager extension, you can lock certain franchise fields. All Franchise listings will then share those &#8220;locked&#8221; fields with the Main listing, and will not have their own individual values for those fields.&nbsp; For instance, if &#8220;Comments&#8221; are locked,&nbsp;all franchises will show the comments section from the main listing&nbsp;and any comments\/reviews that are left [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[703,704],"article\/categories":[213,412],"class_list":["post-872","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-lock-franchise-fields","gd_place_tags-lock-comments","gd_placecategory-extensions-features","gd_placecategory-franchise-manager"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/872","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"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=872"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/872\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=872"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=872"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}