{"id":837,"date":"2019-06-20T18:37:37","date_gmt":"2019-06-20T18:37:37","guid":{"rendered":"https:\/\/wpgeodirectory.com\/docs-v2\/?post_type=docs&#038;p=837"},"modified":"2019-06-20T20:00:33","modified_gmt":"2019-06-20T20:00:33","slug":"place-categories-update","status":"publish","type":"docs","link":"https:\/\/wpgeodirectory.com\/docs-v2\/places\/categories\/place-categories-update\/","title":{"rendered":"Place Categories Update"},"content":{"rendered":"<p><span class='bookmark-index'><br \/>\n<a href=\"#intro\">Introduction<\/a><br \/>\n<a href=\"#need-to-know\">Need to know<\/a><br \/>\n<a href=\"#settings\">Settings<\/a><br \/>\n<a href=\"#category-location\">Category+Location<\/a><br \/>\n<a href=\"#design\">Design<\/a><br \/>\n<a href=\"#support\">Support<\/a><br \/>\n<a href=\"#faq\">FAQ &#8211; Frequently Asked Questions<\/a><br \/>\n<\/span><\/p>\n<h3><a name=\"intro\" href=\"#intro\">Introduction<\/a><\/h3>\n<p>Each Custom Post Types has unique categories to group listings within that CPT.<\/p>\n<h3><a name=\"need-to-know\" href=\"#need-to-know\">What you need to know<\/a><\/h3>\n<ol>\n<li>Every listing requires a category.<\/li>\n<li>Every category requires a map icon.<\/li>\n<li>The default category determines which map icon is shown on the map.<\/li>\n<li>Categories should be created before adding or importing listings.<\/li>\n<li>&#8220;Uncategorized&#8221; category is created with each new CPT. Delete it and add your own.<\/li>\n<\/ol>\n<h3><a name=\"settings\" href=\"#settings\">Category Settings<\/a><\/h3>\n<p>Find the Categories for the CPT like so:<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Screenshot-2018-10-11-at-1.58.34-PM.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Screenshot-2018-10-11-at-1.58.34-PM.png\" alt=\"\" width=\"150\" class=\"alignnone size-full wp-image-371\" \/><\/a><\/p>\n<p>Add or Edit a category to see the options below:<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Category-Options.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Category-Options.png\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-362\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Category-Options.png 1197w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Category-Options-282x300.png 282w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Category-Options-768x817.png 768w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Category-Options-963x1024.png 963w\" sizes=\"(max-width: 1197px) 100vw, 1197px\" \/><\/a><\/p>\n<h4><a name=\"default-category\" href=\"#default-category\">Default Category<\/a><\/h4>\n<p>The default category determines which map icon is shown.<\/p>\n<p>Use either multiselect or checkbox field &#8220;Category display type&#8221; to let listing owners select a default category; otherwise the first\/only category will automatically be set as the default.<\/p>\n<p>Multiselect with default category<br \/>\n<a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/default-multi.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/default-multi.jpg\" alt=\"\" width=\"751\" height=\"55\" class=\"alignnone size-full wp-image-829\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/default-multi.jpg 751w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/default-multi-300x22.jpg 300w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/><\/a><br \/>\nCheckbox with default category<br \/>\n<a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/checkbox-default.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/checkbox-default.jpg\" alt=\"\" width=\"736\" height=\"72\" class=\"alignnone size-full wp-image-830\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/checkbox-default.jpg 736w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/checkbox-default-300x29.jpg 300w\" sizes=\"(max-width: 736px) 100vw, 736px\" \/><\/a><\/p>\n<h4><a name=\"import-export-categories\" href=\"#import-export-categories\">Import and Export Categories<\/a><\/h4>\n<ul>\n<li>Import and Export new and existing categories at <strong>GeoDirectory &#8211; Settings &#8211; Import\/Export (Tab) &#8211; Categories<\/strong><\/li>\n<li>When importing categories the default category must also be listed in the post_category column. <\/li>\n<li>After you import categories you should run the GD Term Count tool. This tool will update category counts. The tool can be found at:\n<p><strong>GeoDirectory &#8211; Status &#8211; Tools (Tab) &#8211; Term Counts &#8211; Run<\/strong><\/li>\n<\/ul>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Screenshot-2019-01-07-at-10.37.59-PM.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Screenshot-2019-01-07-at-10.37.59-PM.png\" alt=\"\" width=\"450\" class=\"alignnone size-full wp-image-590\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Screenshot-2019-01-07-at-10.37.59-PM.png 648w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Screenshot-2019-01-07-at-10.37.59-PM-300x141.png 300w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><\/a><\/p>\n<h4><a name=\"links\" href=\"#links\">Category Archive Link Settings<\/a><\/h4>\n<p>Use Location Manager addon options to add or remove location from your archive URLs: <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/location-manager\/#url\" rel=\"noopener\" target=\"_blank\">https:\/\/wpgeodirectory.com\/docs-v2\/addons\/location-manager\/#url<\/a><\/p>\n<h4><a name=\"select\" href=\"#select\">Category Select with Advanced Search Addon<\/a><\/h4>\n<p>Add a category select field to the search bar with the Advanced Search Addon: <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/advanced-search\/#select\" rel=\"noopener\" target=\"_blank\">https:\/\/wpgeodirectory.com\/docs-v2\/addons\/advanced-search\/#select<\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter.jpg\" alt=\"\" width=\"450\" class=\"alignnone size-full wp-image-649\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter.jpg 1446w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter-300x30.jpg 300w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter-768x77.jpg 768w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter-1024x103.jpg 1024w\" sizes=\"(max-width: 1446px) 100vw, 1446px\" \/><\/a><\/p>\n<h3><a href=\"#personalize\" name=\"personalize\">Personalize<\/a><\/h3>\n<p>Display category links on your site with the gd_categories <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/design-elements\/#gd_categories\" rel=\"noopener\" target=\"_blank\">https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/design-elements\/#gd_categories<\/a><\/p>\n<p>Display the category description field value on archive pages with gd_category_description: <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/design-elements\/#gd_category_description\" rel=\"noopener\" target=\"_blank\">https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/design-elements\/#gd_category_description<\/a><\/p>\n<h3>Customize<\/h3>\n<p>Increase the max categories per CPT: <a href=\"https:\/\/wpgeodirectory.com\/support\/topic\/soft-maximum-for-categories-per-company\/#post-493949\" rel=\"noopener\" target=\"_blank\">https:\/\/wpgeodirectory.com\/support\/topic\/soft-maximum-for-categories-per-company\/#post-493949<\/a><\/p>\n<h3><a name=\"support\" href=\"#support\">Get Support<\/a><\/h3>\n<p>Get support on our forum, fnd out more here: <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/v2\/support\/\" rel=\"noopener\" target=\"_blank\">https:\/\/wpgeodirectory.com\/docs-v2\/v2\/support\/<\/a><\/p>\n<h3><a name=\"faq\" href=\"#faq\">FAQ &#8211; Frequently Asked Questions<\/a><\/h3>\n<blockquote><p>Why doesn&#8217;t the Category+Country description show on the Category+Region or Category+City page?<\/p><\/blockquote>\n<p>There are fields for each, and only the specific field is shown on the matching frontend page.<\/p>\n<p>For example, if the &#8220;Awesome&#8221; category + country=Netherlands is filled out, this will only show on the page for &#8220;Awesome&#8221; + &#8220;Netherlands&#8221; at a URL like: \/places\/netherlands\/category\/awesome<\/p>\n<p>See more examples in the image above.<\/p>\n<blockquote><p>How to change the category &#8220;Uncategorized&#8221;?<\/p><\/blockquote>\n<p>You can edit or delete the category. Make sure that all your listings have another category assigned, first, so that you don&#8217;t end up with listings without a category. Listings without a category can break the map display and have other unintended consequences.<\/p>\n<blockquote><p><a href=\"#find-map-icons\" name=\"find-map-incons\">Where can I find Map Markers \/ Map Icons?<\/a><\/p><\/blockquote>\n<p>Here are some links to map icon resources:<br \/>\n<a href=\"http:\/\/mapicons.nicolasmollet.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/mapicons.nicolasmollet.com\/<\/a><br \/>\n<a href=\"http:\/\/www.smashingmagazine.com\/2014\/12\/23\/freebie-tourism-travel-icon-set-100-icons-png-svg\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">http:\/\/www.smashingmagazine.com\/2014\/12\/23\/freebie-tourism-travel-icon-set-100-icons-png-svg\/<\/a><br \/>\n<a href=\"https:\/\/mapicons.mapsmarker.com\/category\/markers\/stores\/apparel\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https:\/\/mapicons.mapsmarker.com\/category\/markers\/stores\/apparel\/<\/a><\/p>\n<p>You can <a href=\"https:\/\/wpgeodirectory.com\/support\/wp-content\/uploads\/sites\/11\/2016\/03\/new_markers.zip\" rel=\"noopener\" target=\"_blank\">download the original markers that ship with GeoDirectory V1 including a PSD template here<\/a>.<\/p>\n<p>Interested in custom map markers and icons? Contact GD Experts: <a href=\"https:\/\/geodirectoryexperts.com\" rel=\"noopener\" target=\"_blank\">https:\/\/geodirectoryexperts.com<\/a><\/p>\n<p><strong>Changes in V2<\/strong><\/p>\n<p><strong>Parent category selection<\/strong><br \/>\nV2 does not automatically select a parent category when a child category has been selected. There is no way to force this behavior at the time of writing.<\/p>\n<p>What else should I know about categories?<\/p>\n<ol>\n<li>Category Default Image, Category Font Awesome Icon, and Color are optional, but they are used by common GeoDirectory features and it is recommended to fill out each of them.<\/li>\n<li>If one CPT &#8220;Restaurants&#8221; has a category &#8220;general&#8221;, then a second CPT &#8220;Hotels&#8221; with a category &#8220;general&#8221; will automatically be assigned a slug pf &#8220;general-1&#8221; because all slugs must be unique all throughout the site.<\/li>\n<li>Categories and most category data can be imported and exported.<\/li>\n<li>SEO Note &#8211; One of the most powerful features of WordPress is the creation of Archive pages that are Category specific. GeoDirectory increases this power by creating archive pages for each Category + each Location. Read more about how to make the most of this unique and incredibly powerful feature for your site.<\/li>\n<\/ol>\n<p>Can I use the same category in 2 different CPTs?<\/p>\n<p> Categories from one CPT cannot be used to group listings from a different CPT. <\/p>\n<h4><a href=\"#step-by-step\" name=\"step-by-step\">Building a Unique Directory Step by Step<\/a><\/h4>\n<p>When you take your first steps to setup your new directory, the first thing you should do is create the categories you need, but in order to do that, you will at least need one map icon. When you first create your categories, you can set each to have the same icon. That is the easy thing to do, and you can come back later to create unique icons. <\/p>\n<p>After you have created your categories, you can take the next step and <a href=\"#find-map-icons\">find unique icons<\/a> for each of your categories, and use a color that will make them distinct on your map or choose a color that will match the overall colors of your site. <\/p>\n<p>Once you have a unique map icon for each category, next choose the appropriate Font Awesome Icon and color for each category to match your Map Icon.<\/p>\n<p>When the Icons and colors are in place, you can use the gd_categories element on your <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/page-design\/\" rel=\"noopener\" target=\"_blank\">front or Archive page or Location or Search page <\/a>to show pretty links to all your category and category+location Archive pages. <\/p>\n<p>Before you start adding a lot of listings to the categories, consider creating a unique default image for each category. The default image will &#8216;fill out&#8217; the GD Detail page so your listings will be colorful and have visual content. Recommended 900px*600px or 3:2 aspect ratio.<\/p>\n<p>Once you have these basic settings in place, you can proceed to adding the Category Top Descriptions and Category + Locations Descriptions.<\/p>\n<p>As soon as you have the default Category Top Description in place for each category, consider adding the gd_category_description element to the Archive page template to display your category descriptions. As you go along, you can consider adjusting your layout so you can add videos, images, or other rich media to the Category Description field to make each Archive page unique.<\/p>\n<p>What about default categories again?<\/p>\n<h4><a name=\"faq-default-category\" href=\"#faq-default-category\">Default Category<\/a><\/h4>\n<p>Every listing can have a default category. The default category is the listing&#8217;s &#8220;main category&#8221; in the sense that the default category is used to determine which Map Icon, Category Icon, Category Color, and Category Default Image are used for the listing.<\/p>\n<p>When importing and exporting categories, check to make sure that whatever default category is chosen is also listed in the post_category column. It is not possible to select a default category without first selecting the category, meaning that the listing default category must also be a listing category.<\/p>\n<p>In the frontend, you can use either multiselect or checkbox field &#8220;Category display type&#8221; to allow your visitors to select a default category. If they do not select a default category, eg cannot select a default category, it is probably because the field has been set to use select or radio. Change the Category display type back to multiselect or checkbox to allow users to set the default category.<\/p>\n<p>Multiselect with default category<br \/>\n<a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/default-multi.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/default-multi.jpg\" alt=\"\" width=\"751\" height=\"55\" class=\"alignnone size-full wp-image-829\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/default-multi.jpg 751w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/default-multi-300x22.jpg 300w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/><\/a><br \/>\nCheckbox with default category<br \/>\n<a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/checkbox-default.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/checkbox-default.jpg\" alt=\"\" width=\"736\" height=\"72\" class=\"alignnone size-full wp-image-830\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/checkbox-default.jpg 736w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/checkbox-default-300x29.jpg 300w\" sizes=\"(max-width: 736px) 100vw, 736px\" \/><\/a><\/p>\n<h4><a name=\"category-location\" href=\"#category-location\">Category+Location<\/a><\/h4>\n<p>After a category has been created, you can edit the category to add\/edit the Category Top Description Field. The field is &#8216;rich text&#8217; and accepts Media and HTML, making it easy to add pretty, unique descriptions of each category to each category Archive page with the <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/design-elements\/#gd_category_description\" rel=\"noopener\" target=\"_blank\">gd_category_description<\/a> element.<\/p>\n<p>Here is some sample content:<\/p>\n<pre><code>\r\nOn this page you can find all our listings that are labeled with {page category} and %%in_location%%<\/code><\/pre>\n<p>Now that the default Category Top Description for a Category is in place, you can proceed to enter Category Top Description + Location for each location in your site database.<\/p>\n<ol>\n<li>Choose a category, and choose edit<\/li>\n<li>Scroll down to find the option &#8220;Category Top Description&#8221; and UNCHECK<\/li>\n<li>The Default Category Top Description field will be hidden.<\/li>\n<li>Proceed to fill in the unique category description for each location in your database<\/li>\n<li>Any Category+Location descriptions that are left blank will use the default Category+Description field value<\/li>\n<\/ol>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/category-top-location.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/category-top-location.png\" alt=\"\" width=\"600\" class=\"alignnone size-full wp-image-588\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/category-top-location.png 848w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/category-top-location-768x2413.png 768w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/category-top-location-326x1024.png 326w\" sizes=\"(max-width: 848px) 100vw, 848px\" \/><\/a><\/p>\n<p>For each of the Category + Location options, you can choose from all of the locations in your locations database on your site.<\/p>\n<p><strong>Category + Country Description<\/strong><\/p>\n<ul>\n<li>Choose a country from your locations<\/li>\n<li>Add media and text to describe the country<\/li>\n<\/ul>\n<p><strong>Category + Region Description<\/strong><\/p>\n<ul>\n<li>Choose a region from your locations<\/li>\n<li>Add media and text to describe the country<\/li>\n<\/ul>\n<p><strong>Category + City Description<\/strong><\/p>\n<ul>\n<li>Choose a city from your locations<\/li>\n<li>Add media and text to describe the country<\/li>\n<\/ul>\n<h4><a name=\"import-export-category-description\" href=\"#import-export-category-description\">Import and Export Category Descriptions<\/a><\/h4>\n<p>Category+Location Values have a special export\/import page, as shown here:<br \/>\n<a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Screenshot-2019-01-07-at-10.12.11-PM.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Screenshot-2019-01-07-at-10.12.11-PM.png\" alt=\"\" width=\"450\" class=\"alignnone size-full wp-image-589\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Screenshot-2019-01-07-at-10.12.11-PM.png 649w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/Screenshot-2019-01-07-at-10.12.11-PM-300x134.png 300w\" sizes=\"(max-width: 649px) 100vw, 649px\" \/><\/a><\/p>\n","protected":false},"featured_media":0,"parent":366,"menu_order":0,"comment_status":"closed","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\/837"}],"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=837"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/837\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/366"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/media?parent=837"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/doc_tag?post=837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}