{"id":348,"date":"2021-12-28T19:51:12","date_gmt":"2021-12-28T14:21:12","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=348"},"modified":"2022-05-17T11:38:36","modified_gmt":"2022-05-17T06:08:36","slug":"how-to-hide-show-categories-in-wordpress","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/","title":{"rendered":"How to Hide\/show Categories in WordPress"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">WordPress category is a method to group posts related to each other and display them on your website. Also, It enables you to easily organize content for visitors to see what they are looking for. <\/span><span data-preserver-spaces=\"true\">WordPress does not show empty categories. However, someone may want to show empty categories on their website, while some hide empty ones. <\/span><span data-preserver-spaces=\"true\">This article helps you understand How to Hide\/show Categories in WordPress.<\/span><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">How to show category in WordPress<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">For showing the empty categories in WordPress, You have to add the code to your theme function.php file or a site-specific plugin.<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\"> function wpb_list_categories() {\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\/\/ define category list parameneters<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">$args = array (<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">'echo' =&gt; false,<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">'title_li' =&gt; '',<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">'hide_empty' =&gt; 0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">);\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\/\/ get categories list<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">$display_cats = wp_list_categories($args);\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\/\/display custom categories list<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">return $display_cats;\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\/\/ create shortcode<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">add_shortcode('custom_categories_list','wpb_list_categories');\u00a0<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">With this code, you can show an empty category. Then, you can display your custom categories using a shortcode [custom_categories_list] in your widget area.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-350\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/shortcode-categories.png\" alt=\"\" width=\"550\" height=\"314\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/shortcode-categories.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/shortcode-categories-300x171.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">After that, save your settings to see the update.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-352\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hide-empty-category.png\" alt=\"\" width=\"550\" height=\"303\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hide-empty-category.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hide-empty-category-300x165.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">How to hide category in WordPress<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">For hiding the categories from your category list, you can modify the above code accordingly.<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\"> function wpb_list_categories() {\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\/\/ define category list parameneters<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">$args = array (<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">'echo' =&gt; false,<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">'title_li' =&gt; '',<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">'exclude' =&gt; '12,16,21',<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">'hide_empty' =&gt; 0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">);\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\/\/ get categories list<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">$display_cats = wp_list_categories($args);\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\/\/display custom categories list<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">return $display_cats;\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\/\/ create shortcode<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">add_shortcode('custom_categories_list','wpb_list_categories');\u00a0<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">The above code hides the unwanted categories. Further, if you want to hide more, you have to provide the IDs of the categories you wish to exclude.<\/span><\/p>\n<h3><span data-preserver-spaces=\"true\">Using Ultimate Category Excluder plugin<\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-354\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Ultimate-Category-Excluder-1.jpg\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Ultimate-Category-Excluder-1.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Ultimate-Category-Excluder-1-300x134.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Ultimate-Category-Excluder-1-768x342.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">The Ultimate Category Excluder plugin in WordPress excludes a category from the homepage.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">First, Install and activate Ultimate Category Excluder.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Go to settings &gt;&gt; click Category Excluder.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-356\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CategoryExcluder-1.jpg\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CategoryExcluder-1.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CategoryExcluder-1-300x134.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CategoryExcluder-1-768x342.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">You can select the category you want to show and uncheck the category you wish to hide.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-358\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/ExcludeCategoryFrontPage-1.jpg\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/ExcludeCategoryFrontPage-1.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/ExcludeCategoryFrontPage-1-300x134.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/ExcludeCategoryFrontPage-1-768x342.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">\u00a0Now, Update the changes. You can see the categories you unchecked are hidden.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-360\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/RemoveCategoryUpdate-1.jpg\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/RemoveCategoryUpdate-1.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/RemoveCategoryUpdate-1-300x134.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/RemoveCategoryUpdate-1-768x342.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><strong>To cut it short-<\/strong>\u00a0In WordPress, categories are a great way to group posts that are related to each other and show them on your website. This guides visitors to find the topics they are interested in so that they can stay longer on your site.<\/p>\n<p>Some websites may want to hide empty categories or some want them to show up. I hope this article helped you know How to Hide\/show Categories in WordPress. You can use the coding method or use the Plugin method instead.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress category is a method to group posts related to each other and display them on your website. Also, It enables you to easily organize content for visitors to see what they are looking for. WordPress does not show empty categories. However, someone may want to show empty categories on their website, while some hide [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":435,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-348","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Hide\/show Categories in WordPress - Hostkicker<\/title>\n<meta name=\"description\" content=\"The article explains How to Hide\/show Categories in WordPress. You can choose between the coding and plugin method.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Hide\/show Categories in WordPress\" \/>\n<meta property=\"og:description\" content=\"The article explains How to Hide\/show Categories in WordPress. You can choose between the coding and plugin method.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-28T14:21:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-17T06:08:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-row14-01.png\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Hide\/show Categories in WordPress\" \/>\n<meta name=\"twitter:description\" content=\"The article explains How to Hide\/show Categories in WordPress. You can choose between the coding and plugin method.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-row14-01.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"How to Hide\\\/show Categories in WordPress\",\"datePublished\":\"2021-12-28T14:21:12+00:00\",\"dateModified\":\"2022-05-17T06:08:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/\"},\"wordCount\":338,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-row14-01.png\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/\",\"name\":\"How to Hide\\\/show Categories in WordPress - Hostkicker\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-row14-01.png\",\"datePublished\":\"2021-12-28T14:21:12+00:00\",\"dateModified\":\"2022-05-17T06:08:36+00:00\",\"description\":\"The article explains How to Hide\\\/show Categories in WordPress. You can choose between the coding and plugin method.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-row14-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-row14-01.png\",\"width\":693,\"height\":511,\"caption\":\"How to Hide\\\/show Categories in WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-show-categories-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Hide\\\/show Categories in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Hide\/show Categories in WordPress - Hostkicker","description":"The article explains How to Hide\/show Categories in WordPress. You can choose between the coding and plugin method.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Hide\/show Categories in WordPress","og_description":"The article explains How to Hide\/show Categories in WordPress. You can choose between the coding and plugin method.","og_url":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/","og_site_name":"Hostkicker","article_published_time":"2021-12-28T14:21:12+00:00","article_modified_time":"2022-05-17T06:08:36+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-row14-01.png","type":"image\/png"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_title":"How to Hide\/show Categories in WordPress","twitter_description":"The article explains How to Hide\/show Categories in WordPress. You can choose between the coding and plugin method.","twitter_image":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-row14-01.png","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"How to Hide\/show Categories in WordPress","datePublished":"2021-12-28T14:21:12+00:00","dateModified":"2022-05-17T06:08:36+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/"},"wordCount":338,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-row14-01.png","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/","url":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/","name":"How to Hide\/show Categories in WordPress - Hostkicker","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-row14-01.png","datePublished":"2021-12-28T14:21:12+00:00","dateModified":"2022-05-17T06:08:36+00:00","description":"The article explains How to Hide\/show Categories in WordPress. You can choose between the coding and plugin method.","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-row14-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-row14-01.png","width":693,"height":511,"caption":"How to Hide\/show Categories in WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-show-categories-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Hide\/show Categories in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-row14-01.png","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=348"}],"version-history":[{"count":11,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/348\/revisions"}],"predecessor-version":[{"id":521,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/348\/revisions\/521"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/435"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}