{"id":38,"date":"2021-12-18T09:22:07","date_gmt":"2021-12-18T09:22:07","guid":{"rendered":"https:\/\/amitgusain.com\/blog\/?p=38"},"modified":"2022-05-17T11:38:37","modified_gmt":"2022-05-17T06:08:37","slug":"how-to-hide-or-style-your-subcategories-in-wordpress","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/","title":{"rendered":"How to hide or style your subcategories in WordPress"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">In WordPress, The content organization into categories and subcategories gives the post an attractive and catchy look. It also helps in SEO and navigation to easily find what the users want. <\/span><\/p>\n<p>Subcategories are good, as they beautify and sort the content. However, a long list of subcategories does not always look good.<\/p>\n<p>Therefore, <span data-preserver-spaces=\"true\">We will discuss how to hide or style subcategories in WordPress.\u00a0<\/span><\/p>\n<p><strong>Why do we use subcategories?<\/strong><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Subcategory<\/span><\/strong><span data-preserver-spaces=\"true\"> allows you to add subtopics to a category. The Categories are hierarchical to display subcategories in the parent category. Using them is not necessary, of course. However,\u00a0 It develops a proper site structure that is meaningful.<\/span><\/p>\n<p><strong>For example, <\/strong>you can add\u00a0 Electronics and post articles for computers, desktops, laptops, etc. This is the time to use subcategories. Electronics would become a parent category, computers become child categories or subcategories, and desktops and laptops become sub-sub categories.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-459\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategories.png\" alt=\"\" width=\"490\" height=\"270\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategories.png 490w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategories-300x165.png 300w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">If you want to display categories in the widget, you can use a hierarchy or flat list.<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">Go to Appearance, then Widgets.\u00a0<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Now tick the &#8216;show hierarch&#8217; box on the category widget.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-126\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategorieswidget.png\" alt=\"\" width=\"550\" height=\"360\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategorieswidget.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategorieswidget-300x196.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>You can see how a flat and hierarchy list looks like below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-462\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategoriesflathierarchical.png\" alt=\"\" width=\"550\" height=\"307\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategoriesflathierarchical.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategoriesflathierarchical-300x167.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><strong><u><span data-preserver-spaces=\"true\">How to hide or style your subcategories in WordPress<\/span><\/u><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">We know subcategories are suitable for sorting our content and giving a neat look to the post. <\/span><span data-preserver-spaces=\"true\">But subcategories tend to appear ugly sometimes.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"> Consequently, We can hide or style subcategories by different methods. This article is for both the users, one who knows how to code and one who doesn&#8217;t. We&#8217;ll be doing this by using a single code snippet or plugin.\u00a0<\/span><\/p>\n<h2><strong><u><span data-preserver-spaces=\"true\">How to hide subcategories by using CSS code<\/span><\/u><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">In this article, we will use CSS code snippets to hide our subcategories. You can directly add a snippet to your theme&#8217;s style.css file, or you can add them using the theme customizer in WordPress.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For beginners adding CSS could be tricky. Here is the method you can follow.<\/span><\/p>\n<p><strong><u><span data-preserver-spaces=\"true\">How to add custom CSS<\/span><\/u><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">Suppose you don&#8217;t know no how to add custom CSS. You can follow these simple steps.<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">Go to themes, then customize the page.<\/span><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0Theme customizer interface will open with lots of options.<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">Click on the additional CSS from the left.<\/span><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">The tab will slide over with a simple box. You can add your custom CSS here, and it&#8217;s done. You will be able to see it on your website live view.<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">Now save and click publish button on the top.<\/span><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">At this time, you have successfully added custom CSS to your WordPress. Let&#8217;s continue the steps for hiding subcategories in WordPress.<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">You have to copy the below code and paste it into your theme&#8217;s style.css file or your WordPress theme customizer.<\/span><\/li>\n<\/ul>\n<pre><span data-preserver-spaces=\"true\">\u00a0 \u00a0.children {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0display:none;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0}<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">To use theme customizer, click\u00a0<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">appearance&gt;&gt;customize&gt;&gt;additional CSS\u00a0<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-130\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategoriehiddensnippet-1.png\" alt=\"\" width=\"550\" height=\"388\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategoriehiddensnippet-1.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategoriehiddensnippet-1-300x212.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now, paste the above code and then click to publish button.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can check the subcategories are hidden.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-132\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategorieshiddenpreview-1.png\" alt=\"\" width=\"550\" height=\"300\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategorieshiddenpreview-1.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategorieshiddenpreview-1-300x164.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">How to style subcategories in WordPress using CSS code<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">In WordPress, you can style or customize the categories and subcategories. You can change the style of your subcategories by following the same steps used in hiding them.<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">Copy the code and paste it into style.css or the theme customizer.<\/span><\/li>\n<\/ul>\n<pre><span data-preserver-spaces=\"true\"> .children {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">padding: 0 0 0 5px;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">margin: 0 0 0 2px;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">border-left: 1px solid #333;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">}<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">If you are using the Theme Customizer, then don&#8217;t forget to click the Publish button.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can check it on your WordPress site.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-134\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategoriesstylepreview.png\" alt=\"\" width=\"550\" height=\"300\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategoriesstylepreview.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/subcategoriesstylepreview-300x164.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">How to hide subcategories in WordPress using plugin<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">In order to tell you how to hide subcategories in WordPress, we will use the plugins.<\/span><\/p>\n<h3><strong>Using Ultimate Category Excluder plugin<\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">\u00a0The ultimate category excluder plugin gives us the option to <\/span><span data-preserver-spaces=\"true\">exclude a category from the homepage of WordPress within a few steps.<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">Install and activate the &#8220;Ultimate Category Excluder.&#8221; plugin.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-135\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Ultimate-Category-Excluder.jpg\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Ultimate-Category-Excluder.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Ultimate-Category-Excluder-300x134.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Ultimate-Category-Excluder-768x342.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">Go to Settings and click &#8220;Category Excluder.&#8221;<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-138\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CategoryExcluder.jpg\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CategoryExcluder.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CategoryExcluder-300x134.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CategoryExcluder-768x342.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Here you can select which category you want to keep and exclude.<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">Click the category to remove from the &#8220;Front Page.&#8221;<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-140\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/ExcludeCategoryFrontPage.jpg\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/ExcludeCategoryFrontPage.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/ExcludeCategoryFrontPage-300x134.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/ExcludeCategoryFrontPage-768x342.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">\u00a0Click the Update option at the bottom of the page.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-142\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/RemoveCategoryUpdate.jpg\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/RemoveCategoryUpdate.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/RemoveCategoryUpdate-300x134.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/RemoveCategoryUpdate-768x342.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now, the categories you selected are removed from the front page.<\/span><\/p>\n<h3><strong>Front Page Category plugin.<\/strong><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-144\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/FrontPageCategory.jpg\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/FrontPageCategory.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/FrontPageCategory-300x134.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/FrontPageCategory-768x342.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">The Front Page Category plugin is basic. It does not provide a lot of options as it simply removes categories you choose from the front page of your blog post. Although you want a tool that offers this feature, this plugin is for you.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"> Here,<\/span><span data-preserver-spaces=\"true\">\u00a0go to the category options from the Customizer in WordPress and uncheck the categories you don&#8217;t want to show.<\/span><\/p>\n<h3><strong>Collapsing Categories List plugin.<\/strong><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-146\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CollapsingCategoriesList.jpg\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CollapsingCategoriesList.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CollapsingCategoriesList-300x134.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/CollapsingCategoriesList-768x342.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">The Collapsing Categories List plugin gives you many options. It helps you to customize your archives in WordPress.You can hide several categories here. Also, you can remove links and collapse subcategories by default.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Most of the features for this tool are available from the Widgets screen in WordPress.<\/span><\/p>\n<p><strong>To wrap up<\/strong>, This was all about how you can hide or style your subcategories in WordPress.This helps in content organization and gives a decent look to the WordPress site. You can do this by using CSS code or by plugins.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In WordPress, The content organization into categories and subcategories gives the post an attractive and catchy look. It also helps in SEO and navigation to easily find what the users want. Subcategories are good, as they beautify and sort the content. However, a long list of subcategories does not always look good. Therefore, We will [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":263,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-38","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.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to hide or style your subcategories in WordPress<\/title>\n<meta name=\"description\" content=\"Want to hide or style your subcategories in WordPress? you can choose any of the method between CSS code or using plugin.\" \/>\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-or-style-your-subcategories-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 or style your subcategories in WordPress\" \/>\n<meta property=\"og:description\" content=\"Want to hide or style your subcategories in WordPress? you can choose any of the method between CSS code or using plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-18T09:22:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-17T06:08:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-2-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: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=\"7 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-or-style-your-subcategories-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"How to hide or style your subcategories in WordPress\",\"datePublished\":\"2021-12-18T09:22:07+00:00\",\"dateModified\":\"2022-05-17T06:08:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/\"},\"wordCount\":842,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-2-01.png\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/\",\"name\":\"How to hide or style your subcategories in WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-2-01.png\",\"datePublished\":\"2021-12-18T09:22:07+00:00\",\"dateModified\":\"2022-05-17T06:08:37+00:00\",\"description\":\"Want to hide or style your subcategories in WordPress? you can choose any of the method between CSS code or using plugin.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-2-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-2-01.png\",\"width\":693,\"height\":511,\"caption\":\"How to hide or style your subcategories in WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-hide-or-style-your-subcategories-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to hide or style your subcategories 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 or style your subcategories in WordPress","description":"Want to hide or style your subcategories in WordPress? you can choose any of the method between CSS code or using plugin.","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-or-style-your-subcategories-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to hide or style your subcategories in WordPress","og_description":"Want to hide or style your subcategories in WordPress? you can choose any of the method between CSS code or using plugin.","og_url":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/","og_site_name":"Hostkicker","article_published_time":"2021-12-18T09:22:07+00:00","article_modified_time":"2022-05-17T06:08:37+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-2-01.png","type":"image\/png"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"How to hide or style your subcategories in WordPress","datePublished":"2021-12-18T09:22:07+00:00","dateModified":"2022-05-17T06:08:37+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/"},"wordCount":842,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-2-01.png","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/","url":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/","name":"How to hide or style your subcategories in WordPress","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-2-01.png","datePublished":"2021-12-18T09:22:07+00:00","dateModified":"2022-05-17T06:08:37+00:00","description":"Want to hide or style your subcategories in WordPress? you can choose any of the method between CSS code or using plugin.","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-2-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-2-01.png","width":693,"height":511,"caption":"How to hide or style your subcategories in WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/how-to-hide-or-style-your-subcategories-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to hide or style your subcategories 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-2-01.png","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/38","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=38"}],"version-history":[{"count":20,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":461,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions\/461"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/263"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}