{"id":2877,"date":"2026-10-20T08:37:16","date_gmt":"2026-10-20T07:37:16","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/customize-geodirectory-location-page\/"},"modified":"2026-10-20T08:37:16","modified_gmt":"2026-10-20T07:37:16","slug":"customize-geodirectory-location-page","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/location-manager\/customize-geodirectory-location-page\/","title":{"rendered":"How to customize the GeoDirectory location page"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The GeoDirectory location page is a normal WordPress page that works as a template. Every location URL on your site is shown through that one page, so you change the layout by editing the page and the blocks or shortcodes in it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Edit the location page<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to GeoDirectory &gt; Settings &gt; General &gt; Pages and note which page is selected as the Location page (it is called Location, with the slug <code>location<\/code>, unless you changed it).<\/li>\n\n\n\n<li>Open that page in the WordPress editor.<\/li>\n\n\n\n<li>Add, remove or move GeoDirectory blocks. If you use the classic editor, you work with shortcodes instead.<\/li>\n\n\n\n<li>Update the page. Every location URL now uses the new layout.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The default content is a notifications area, the categories list, a directory map, the search bar and a listings block. As shortcodes it looks like this:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">&#091;gd_notifications&#093;\n&#091;gd_categories&#093;\n&#091;gd_map map_type=&#039;directory&#039; width=100% height=300 search_filter=1 cat_filter=1 post_type_filter=1&#093;\n&#091;gd_search&#093;\n&#091;gd_listings post_limit=10 add_location_filter=&#039;1&#039;&#093;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can also design the page with a page builder. See <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/design-or-customize-geodirectory-pages\/\">Design or customize GeoDirectory pages<\/a> for the options.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Content that changes with the location<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With the Location Manager add-on, each country, region and city gets its own URL on the location page, and blocks can filter by the location being viewed. In GD &gt; Listings, keep &#8220;Enable location filter?&#8221; ticked so the listings shown belong to that location.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Location Manager also adds blocks made for this page. <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/location-manager\/gd-location-description\/\">GD &gt; Location Description<\/a> shows the text you write for each location, <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/location-manager\/gd-location-meta\/\">GD &gt; Location Meta<\/a> outputs location details, and <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/location-manager\/gd-locations\/\">GD &gt; Locations<\/a> links to other cities or regions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Location pages and post type archives<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A location page shows one location across all your post types. A post type archive, such as your Places page, shows a single post type and can also be filtered by location. We recommend using the location page as the home page of each location, with links to the archives for visitors who want the full list.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is no setting to stop location pages being generated. If you are not ready for search engines to index them, add a noindex rule as described in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/tips-tricks-more\/no-index-directives-on-all-or-some-gd-pages\/\">No index directives on all or some GD pages<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The GeoDirectory location page is a normal WordPress page that works as a template. Every location URL on your site is shown through that one page, so you change the layout by editing the page and the blocks or shortcodes in it. Edit the location page The default content is a notifications area, the categories [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[213,425],"class_list":["post-2877","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-extensions-features","gd_placecategory-location-manager"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2877","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=2877"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2877\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2877"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2877"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}