{"id":365095,"date":"2025-10-05T18:42:04","date_gmt":"2025-10-05T12:42:04","guid":{"rendered":"https:\/\/directorist.com\/?post_type=docs&#038;p=365095"},"modified":"2025-10-05T18:42:07","modified_gmt":"2025-10-05T12:42:07","password":"","slug":"category-location","status":"publish","type":"docs","link":"https:\/\/directorist.com\/docs\/category-location\/","title":{"rendered":"Category &amp; Location"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Categories Page Settings<\/h2>\n\n\n\n<p>The&nbsp;<strong>Categories Page Settings<\/strong>&nbsp;let you define how category blocks are displayed and organized on your directory\u2019s category archive page. You can choose layout type, sorting preferences, and visibility options.<\/p>\n\n\n\n<p>To access these settings, go to:<br><strong>WP Admin Dashboard \u2192 Directory Settings \u2192 Listings \u2192 Category &amp; Location <\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Default View<\/strong><\/h4>\n\n\n\n<p>Select how the categories will be displayed on the front end.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Grid<\/strong>\u00a0\u2013 Displays categories in a grid layout with multiple columns.<\/li>\n\n\n\n<li><strong>List<\/strong>\u00a0\u2013 Displays categories in a single-column list view.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Number of Columns<\/strong><\/h4>\n\n\n\n<p>Set the number of columns to display when the&nbsp;<strong>Grid<\/strong>&nbsp;view is selected.<br>Example: Enter&nbsp;<strong>4<\/strong>&nbsp;to show four categories per row.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Order By<\/strong><\/h4>\n\n\n\n<p>Choose the parameter used to order the categories.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>ID<\/strong>\u00a0\u2013 Orders categories by their ID (default creation order).<\/li>\n\n\n\n<li><strong>Count<\/strong>\u00a0\u2013 Orders categories based on the number of listings they contain.<\/li>\n\n\n\n<li><strong>Name<\/strong>\u00a0\u2013 Orders categories alphabetically.<\/li>\n\n\n\n<li><strong>Slug<\/strong>\u00a0\u2013 Orders categories by their URL slug.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Sort By<\/strong><\/h4>\n\n\n\n<p>Define the sorting direction for the selected order type.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Ascending (ASC)<\/strong>\u00a0\u2013 Displays items from lowest to highest (A \u2192 Z, smallest \u2192 largest).<\/li>\n\n\n\n<li><strong>Descending (DESC)<\/strong>\u00a0\u2013 Displays items from highest to lowest (Z \u2192 A, largest \u2192 smallest).<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Display Listing Count<\/strong><\/h4>\n\n\n\n<p>Enable this option to show the number of listings available within each category.<br>Example: \u201cRestaurants (15)\u201d will display if the category contains 15 listings.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Hide Empty Categories<\/strong><\/h4>\n\n\n\n<p>Enable this to hide categories that don\u2019t have any listings assigned to them. This keeps your directory looking clean and focused on active categories.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"530\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-16-1024x530.png\" alt=\"\" class=\"wp-image-365097\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-16-1024x530.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-16-300x155.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-16-768x398.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-16-1536x796.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-16-2048x1061.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Locations Page Settings<\/h2>\n\n\n\n<p>The&nbsp;<strong>Locations Page Settings<\/strong>&nbsp;allow you to control how location blocks are displayed and organized on your directory\u2019s&nbsp;<strong>Locations<\/strong>&nbsp;page. You can customize the layout, sorting, and visibility of location-based listings.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Default View<\/strong><\/h4>\n\n\n\n<p>Choose how locations appear on the front end:&nbsp;<strong>Grid<\/strong>&nbsp;or&nbsp;<strong>List<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Number of Columns<\/strong><\/h4>\n\n\n\n<p>Set how many columns will display on the grid layout.<br>Example: Enter&nbsp;<strong>4<\/strong>&nbsp;to show four location blocks per row.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Order By<\/strong><\/h4>\n\n\n\n<p>Decide how locations are ordered:&nbsp;<strong>ID<\/strong>,&nbsp;<strong>Count<\/strong>,&nbsp;<strong>Name<\/strong>, or&nbsp;<strong>Slug<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Sort By<\/strong><\/h4>\n\n\n\n<p>Select sorting direction:&nbsp;<strong>Ascending (ASC)<\/strong>&nbsp;or&nbsp;<strong>Descending (DESC)<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Display Listing Count<\/strong><\/h4>\n\n\n\n<p>Show the total number of listings available under each location.<br>Example: \u201cNew York (25)\u201d displays if there are 25 listings in that location.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Hide Empty Locations<\/strong><\/h4>\n\n\n\n<p>Hide locations with no listings to keep your directory clean and focused.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"730\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-17-1024x730.png\" alt=\"\" class=\"wp-image-365099\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-17-1024x730.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-17-300x214.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-17-768x548.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-17-1536x1096.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/10\/image-17.png 2030w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>After making changes, click\u00a0<strong>Save Changes<\/strong>\u00a0(top-right or bottom-right corner) to apply your updates.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Categories Page Settings The&nbsp;Categories Page Settings&nbsp;let you define how category blocks are displayed and organized on your directory\u2019s category archive page. You can choose layout type, sorting preferences, and visibility options. To access these settings, go to:WP Admin Dashboard \u2192 Directory Settings \u2192 Listings \u2192 Category &amp; Location Default View Select how the categories will [&hellip;]<\/p>\n","protected":false},"author":24585,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[702],"doc_tag":[],"class_list":["post-365095","docs","type-docs","status-publish","hentry","doc_category-listings-management"],"year_month":"2026-03","word_count":400,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"yousuf.sovware","author_nicename":"yousuf-sovware","author_url":"https:\/\/directorist.com\/author\/yousuf-sovware\/"},"doc_category_info":[{"term_name":"Listings Management","term_url":"https:\/\/directorist.com\/docs-category\/listings-management\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/365095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/users\/24585"}],"replies":[{"embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/comments?post=365095"}],"version-history":[{"count":0,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/365095\/revisions"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/media?parent=365095"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_category?post=365095"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_tag?post=365095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}