{"id":22491,"date":"2016-07-10T00:29:30","date_gmt":"2016-07-10T00:29:30","guid":{"rendered":"https:\/\/wpgeodirectory.com\/docs\/?p=22491"},"modified":"2016-07-17T13:09:42","modified_gmt":"2016-07-17T13:09:42","slug":"manage-location","status":"publish","type":"post","link":"https:\/\/wpgeodirectory.com\/docs\/manage-location\/","title":{"rendered":"Location Manager &#8211; Manage Location"},"content":{"rendered":"<h4>These are the sections\u00a0you will find when you install the Location Manager:<\/h4>\n<p><a href=\"https:\/\/wpgeodirectory.com\/docs\/multilocations\/\">Introduction and Location Settings tab<\/a> &#8211; <strong>Manage Location tab<\/strong> &#8211; SEO Settings tab &#8211; Add\/Edit Location tab &#8211; Translate Countries tab<\/p>\n<h4>On this page:<\/h4>\n<p><a href=\"#intro\">Introduction<\/a> &#8211; <a href=\"#hood\">City Neighbourhoods<\/a>\u00a0&#8211; <a href=\"#edit\">Adding or editing locations<\/a>\u00a0&#8211; <a href=\"#merge\">Merging locations<\/a><\/p>\n<h3><a name=\"intro\"><\/a>Introduction<\/h3>\n<ol>\n<li>The <em><strong>Manage Location<\/strong><\/em> tab is where you can edit or merge locations, and add meta data for your location pages.<\/li>\n<li>Here you can also divide locations into neighborhoods.<\/li>\n<\/ol>\n<h3><a name=\"hood\"><\/a>City Neighborhoods<\/h3>\n<ol>\n<li>Locations are based on the Google Maps API, and the size of cities (towns, suburbs or villages etc depending on the country) can vary greatly from country to country.\u00a0Your locations need to be therefore always <em><strong>city &gt; region &gt; country<\/strong><\/em>, exactly like Google suggests when you add a listing from the frontend.<\/li>\n<li>In some countries, cities are divided into smaller sections, for example New York City is divided in the boroughs of\u00a0Bronx, Manhattan, Brooklyn, Queens and Staten Island.<\/li>\n<li>The neighborhoods need to be manually added in the backend, and need to be manually selected by users adding listings.<\/li>\n<\/ol>\n<h4>Adding neighborhoods<\/h4>\n<ol>\n<li>For this example we will add the New York City boroughs as GD neighborhoods.<\/li>\n<li>At <em><strong>GD &gt; Multilocations &gt; Manage Location<\/strong><\/em> tab, find the city you want to add neighborhoods.<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/07\/loc8.png\" alt=\"\" width=\"373\" height=\"101\" \/><\/li>\n<li>Click on the plus sign + and then click on Add Neighborhood:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/07\/loc9.png\" alt=\"\" width=\"349\" height=\"154\" \/><\/li>\n<li>Then add the name of the neighborhood, and <em><strong>Set neighborhood on map<\/strong><\/em>:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/07\/loc10.png\" alt=\"\" width=\"672\" height=\"295\" \/><\/li>\n<li>Keep adding all neighborhoods.<\/li>\n<\/ol>\n<h4>Location switcher<\/h4>\n<ol>\n<li>Your visitors will now be able to filter locations by neighborhood:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/07\/loc11.png\" alt=\"\" width=\"373\" height=\"305\" \/><\/li>\n<\/ol>\n<h4>Adding listings<\/h4>\n<ol>\n<li>Your users will now be able so select the neighborhoods when adding listings:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/07\/loc12.png\" alt=\"\" width=\"591\" height=\"321\" \/><\/li>\n<\/ol>\n<h3><a id=\"edit\"><\/a>Adding or editing locations<\/h3>\n<ol>\n<li>As part of your initial GD Core plugin, you should already have a <a href=\"https:\/\/wpgeodirectory.com\/docs\/core-location\/\">default location<\/a> set.<br \/>\nIt is one of the compulsory <a href=\"https:\/\/wpgeodirectory.com\/docs\/basic-installation\/#defloc\">basic installation steps<\/a>.<\/li>\n<li><i class=\"fa fa-exclamation-triangle fa-2x\" style=\"color: orange;\"><\/i> Best practice is not to add locations here, because every location will have a page created and you will only end up with empty pages.<br \/>\nWait for your users to add listings and locations will be automatically created\u00a0as your users add listings from the frontend.<\/li>\n<li>There might be some occasions when you need to modify a location. For example a location has been added that does not conform to what the <a href=\"https:\/\/wpgeodirectory.com\/docs\/definitions\/#location\">Google Map API<\/a> would have added, and you need to correct the spelling for example.<\/li>\n<li><i class=\"fa fa-exclamation-triangle fa-2x\" style=\"color: red;\"><\/i> <span style=\"color: #ff0000;\">Do not delete locations unless you have no listings in that location; deleting locations will delete all listings in the location!<br \/>\n<\/span><\/li>\n<\/ol>\n<h4>City Meta and City Description<\/h4>\n<ol>\n<li>Towards the bottom of the editing page for each location, you will find <em><strong>City Meta<\/strong><\/em> and <em><strong>City Description<\/strong><\/em> fields.<br \/>\nEnter your data (you can use HTML in the City Description field):<br \/>\n<img loading=\"lazy\" class=\"alignnone size-full wp-image-21447\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/07\/loc2.png\" alt=\"\" width=\"681\" height=\"142\" srcset=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/07\/loc2.png 681w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/07\/loc2-300x63.png 300w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><\/li>\n<li>The <em><strong>City Meta<\/strong><\/em> data will now be added to the source of the relevant location page:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/07\/loc3.png\" alt=\"\" width=\"681\" height=\"58\" \/><\/li>\n<li><i class=\"fa fa-folder-open fa-2x\" style=\"color: orange;\"><\/i><a href=\"https:\/\/wpgeodirectory.com\/docs\/location-manager-widgets\/#desc\"> This information is also used for the\u00a0<em><strong>GD &gt; Location Description<\/strong><\/em> widget.<\/a><\/li>\n<\/ol>\n<h3><a id=\"merge\"><\/a>Merging locations<\/h3>\n<ol>\n<li>Sometimes your users add locations to your database using different spelling than a location already in your database (for example <em><strong>LasVegas, Texas, US<\/strong><\/em> instead of <em><strong>Las Vegas, Texas, United States<\/strong><\/em>).<\/li>\n<li>Your GD database will treat this as two different locations.<\/li>\n<li>There is a tool to merge these two locations.<\/li>\n<li>From\u00a0the <em><strong>Manage Locations<\/strong><\/em> tab, select the locations you want to merge.<\/li>\n<li>Scroll to the bottom of the page, and click<em><strong> Merge<\/strong><\/em>.<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/07\/loc17.png\" alt=\"\" width=\"370\" height=\"188\" \/><\/li>\n<li>On the next page, select the correct location you want to keep, and then click <em><strong>Set Primary<\/strong><\/em>.<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/07\/loc18.png\" alt=\"\" width=\"450\" height=\"334\" \/><\/li>\n<li>That will re-assign the correct location to all your listings in any of the locations you merged.<\/li>\n<li><i class=\"fa fa-exclamation-triangle fa-2x\" style=\"color: red;\"><\/i> <span style=\"color: #ff0000;\">Do not delete a location because that will also delete any listings in that location!<\/span><\/li>\n<li><i class=\"fa fa-lightbulb-o fa-2x\" style=\"color: green;\"><\/i> You can also use the above process to correct any of your locations: just add the correct location first and then merge with any incorrect locations.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The Manage Location tab is where you can edit or merge locations, and add meta data for your location pages.<br \/>\nNeighborhoods are also explained here.<\/p>\n","protected":false},"author":1676,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[34],"tags":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/22491"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/users\/1676"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/comments?post=22491"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/22491\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/media?parent=22491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/categories?post=22491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/tags?post=22491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}