{"id":6378,"date":"2016-02-17T14:18:35","date_gmt":"2016-02-17T19:18:35","guid":{"rendered":"https:\/\/themespress.ca\/?p=6378"},"modified":"2022-09-11T11:23:08","modified_gmt":"2022-09-11T15:23:08","slug":"display-woocommerce-product-categories","status":"publish","type":"post","link":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/","title":{"rendered":"Display WooCommerce Product Categories"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>With this tutorial, we will show you a way to display your WooCommerce product categories outside of widgets. We will run a query that will display the categories matching the WooCommerce taxonomy.<\/p>\n<p>To find your WordPress taxonomy, simply access your category&#8217;s Post Type and look at the URL.<br \/>\nIn this example, we see this: taxonomy=product_cat in the URL so the taxonomy&#8217;s name is WooCommerce.<\/p>\n\n\t\t<\/div>\n\t<\/div>\n\n\t<div  class=\"wpb_single_image wpb_content_element vc_align_left wpb_content_element\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\">\n\t\t\t<div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img decoding=\"async\" width=\"1198\" height=\"564\" src=\"https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-taxonomy.png\" class=\"vc_single_image-img attachment-full\" alt=\"\" title=\"Taxonomy WooCommerce\" srcset=\"https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-taxonomy.png 1198w, https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-taxonomy-600x282.png 600w, https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-taxonomy-300x141.png 300w, https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-taxonomy-1024x482.png 1024w, https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-taxonomy-768x362.png 768w, https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-taxonomy-1320x621.png 1320w\" sizes=\"(max-width: 1198px) 100vw, 1198px\" \/><\/div>\n\t\t<\/figure>\n\t<\/div>\n<h2 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >Display WooCommerce Product Categories<\/h2><div id=\"ts-enlighterjs-container-2322122\" class=\"ts-enlighterjs-container-single-enabled  \" style=\"width: 100%;  margin-top: 0px; margin-bottom: 0px;\" data-enlighter-doubleclick=\"true\" data-enlighter-windowbutton=\"true\" data-enlighter-windowtext=\"New Window\" data-enlighter-rawbutton=\"true\" data-enlighter-rawtext=\"RAW Code\" data-enlighter-infobutton=\"false\" data-enlighter-infotext=\"EnlighterJS\" data-enlighter-indent=\"2\"><pre id=\"ts-enlighterjs-pre-2322122\" class=\"\" style=\"white-space: pre-wrap; height: 100%; margin: 0; padding: 0;\" data-enlighter-language=\"php\" data-enlighter-theme=\"enlighter\" data-enlighter-group=\"\" data-enlighter-title=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"1\" data-enlighter-highlight=\"\">&lt;?php \n$categories = get_categories(&#039;taxonomy=product_cat&amp;amp;hide_empty=1&#039;);\n$select = &quot;&lt;select name=&#039;cat&#039; id=&#039;cat&#039; class=&#039;postform&#039;&gt;\n&lt;option value=&#039;&quot;.$category-&gt;slug.&quot;&#039;&gt;Quelle Occasion ?&lt;\/option&gt;&quot;;\n  foreach($categories as $category){\n  if($category-&amp;gt;count &amp;gt; 0){\n      $select.= &quot;&lt;option value=&#039;&quot;.$category-&gt;slug.&quot;&#039;&gt;&quot;.$category-&gt;name.&quot;&lt;\/option&gt;&quot;;\n  }}\n$select.= &quot;&lt;\/select&gt;&quot;;\necho $select;\n?&gt;<\/pre><\/div>\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>With the Javascript, we will specify the desired category and redirect it to the URL matching your category.<\/p>\n<p>After our query, we will add our JavaScript.<\/p>\n\n\t\t<\/div>\n\t<\/div>\n<div id=\"ts-enlighterjs-container-7754704\" class=\"ts-enlighterjs-container-single-enabled  \" style=\"width: 100%;  margin-top: 0px; margin-bottom: 0px;\" data-enlighter-doubleclick=\"true\" data-enlighter-windowbutton=\"true\" data-enlighter-windowtext=\"New Window\" data-enlighter-rawbutton=\"true\" data-enlighter-rawtext=\"RAW Code\" data-enlighter-infobutton=\"false\" data-enlighter-infotext=\"EnlighterJS\" data-enlighter-indent=\"2\"><pre id=\"ts-enlighterjs-pre-7754704\" class=\"\" style=\"white-space: pre-wrap; height: 100%; margin: 0; padding: 0;\" data-enlighter-language=\"javascript\" data-enlighter-theme=\"enlighter\" data-enlighter-group=\"\" data-enlighter-title=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"1\" data-enlighter-highlight=\"\">&lt;script type=&quot;text\/javascript&quot;&gt;\nvar dropdown = document.getElementById(&quot;cat&quot;);\nfunction onCatChange() {\nif ( dropdown.options[dropdown.selectedIndex].value != -1 ) {\nlocation.href = &quot;&lt;?php echo home_url();?&gt;\/boutique\/categorie\/&quot;+dropdown.options[dropdown.selectedIndex].value+&quot;\/&quot;;\n}}\ndropdown.onchange = onCatChange;\n&lt;\/script&gt;<\/pre><\/div>\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>When we look at the redirected ULR in the previous code.<br \/>\nSimply update the URL with the slug category.<\/p>\n\n\t\t<\/div>\n\t<\/div>\n<div id=\"ts-enlighterjs-container-4225967\" class=\"ts-enlighterjs-container-single-enabled  \" style=\"width: 100%;  margin-top: 0px; margin-bottom: 0px;\" data-enlighter-doubleclick=\"true\" data-enlighter-windowbutton=\"true\" data-enlighter-windowtext=\"New Window\" data-enlighter-rawbutton=\"true\" data-enlighter-rawtext=\"RAW Code\" data-enlighter-infobutton=\"false\" data-enlighter-infotext=\"EnlighterJS\" data-enlighter-indent=\"2\"><pre id=\"ts-enlighterjs-pre-4225967\" class=\"\" style=\"white-space: pre-wrap; height: 100%; margin: 0; padding: 0;\" data-enlighter-language=\"php\" data-enlighter-theme=\"enlighter\" data-enlighter-group=\"\" data-enlighter-title=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"1\" data-enlighter-highlight=\"\">location.href = &quot;&lt;?php echo home_url();?&gt;\/boutique\/categorie\/&quot;+dropdown.options[dropdown.selectedIndex].value+&quot;\/&quot;;<\/pre><\/div><\/div><\/div><\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"With this tutorial, we will show you a way to display your WooCommerce product categories outside of widgets. We will run a query that will display the categories matching the<div class=\"read-more\"><a class=\"btn button-secondary\" href=\"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/\">Read More<\/a><\/div>","protected":false},"author":81,"featured_media":4501,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[283],"tags":[357,328],"class_list":["post-6378","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-taxonomy","tag-woocommerce-config"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Share the post &quot;Display WooCommerce Product Categories&quot; Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a way to display your WooCommerce product categories outside of widgets. We will run a query that will display the categories matching the WooCommerce taxonomy. To find your WordPress taxonomy, simply access\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Daniel\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Themespress - Des tutoriels et ressources WordPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Display WooCommerce Product Categories - Themespress\" \/>\n\t\t<meta property=\"og:description\" content=\"Share the post &quot;Display WooCommerce Product Categories&quot; Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a way to display your WooCommerce product categories outside of widgets. We will run a query that will display the categories matching the WooCommerce taxonomy. To find your WordPress taxonomy, simply access\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-02-17T19:18:35-05:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-09-11T15:23:08-04:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Display WooCommerce Product Categories - Themespress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Share the post &quot;Display WooCommerce Product Categories&quot; Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a way to display your WooCommerce product categories outside of widgets. We will run a query that will display the categories matching the WooCommerce taxonomy. To find your WordPress taxonomy, simply access\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#blogposting\",\"name\":\"Display WooCommerce Product Categories - Themespress\",\"headline\":\"Display WooCommerce Product Categories\",\"author\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/themespress.ca\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/wsi-imageoptim-Afficher-les-Cat\\u00e9gories-Produits-WooCommerce-e1455719259176.jpg\",\"width\":894,\"height\":393,\"caption\":\"Afficher les Cat\\u00e9gories Produits WooCommerce\"},\"datePublished\":\"2016-02-17T14:18:35-05:00\",\"dateModified\":\"2022-09-11T11:23:08-04:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#webpage\"},\"articleSection\":\"Tutorials, Taxonomy, WooCommerce\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#listItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/themespress.ca\\\/en\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/#listItem\",\"name\":\"Tutorials\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/#listItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#listItem\",\"name\":\"Display WooCommerce Product Categories\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#listItem\",\"name\":\"Accueil\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#listItem\",\"position\":3,\"name\":\"Display WooCommerce Product Categories\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/#listItem\",\"name\":\"Tutorials\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#organization\",\"name\":\"Themespress\",\"description\":\"Des tutoriels et ressources WordPress\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/\",\"name\":\"Daniel\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93cd2188e40b3289d305e88acb676eb8b84078e50e06f4eb38a0152903b34c9d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Daniel\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#webpage\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/\",\"name\":\"Display WooCommerce Product Categories - Themespress\",\"description\":\"Share the post \\\"Display WooCommerce Product Categories\\\" Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a way to display your WooCommerce product categories outside of widgets. We will run a query that will display the categories matching the WooCommerce taxonomy. To find your WordPress taxonomy, simply access\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/themespress.ca\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/wsi-imageoptim-Afficher-les-Cat\\u00e9gories-Produits-WooCommerce-e1455719259176.jpg\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#mainImage\",\"width\":894,\"height\":393,\"caption\":\"Afficher les Cat\\u00e9gories Produits WooCommerce\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/display-woocommerce-product-categories\\\/#mainImage\"},\"datePublished\":\"2016-02-17T14:18:35-05:00\",\"dateModified\":\"2022-09-11T11:23:08-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/\",\"name\":\"Themespress\",\"description\":\"Des tutoriels et ressources WordPress\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Display WooCommerce Product Categories - Themespress","description":"Share the post \"Display WooCommerce Product Categories\" Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a way to display your WooCommerce product categories outside of widgets. We will run a query that will display the categories matching the WooCommerce taxonomy. To find your WordPress taxonomy, simply access","canonical_url":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#blogposting","name":"Display WooCommerce Product Categories - Themespress","headline":"Display WooCommerce Product Categories","author":{"@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author"},"publisher":{"@id":"https:\/\/themespress.ca\/en\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-Afficher-les-Cat\u00e9gories-Produits-WooCommerce-e1455719259176.jpg","width":894,"height":393,"caption":"Afficher les Cat\u00e9gories Produits WooCommerce"},"datePublished":"2016-02-17T14:18:35-05:00","dateModified":"2022-09-11T11:23:08-04:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#webpage"},"isPartOf":{"@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#webpage"},"articleSection":"Tutorials, Taxonomy, WooCommerce"},{"@type":"BreadcrumbList","@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/#listItem","position":1,"name":"Accueil","item":"https:\/\/themespress.ca\/en\/","nextItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/#listItem","name":"Tutorials"}},{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/#listItem","position":2,"name":"Tutorials","item":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/","nextItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#listItem","name":"Display WooCommerce Product Categories"},"previousItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/#listItem","name":"Accueil"}},{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#listItem","position":3,"name":"Display WooCommerce Product Categories","previousItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/#listItem","name":"Tutorials"}}]},{"@type":"Organization","@id":"https:\/\/themespress.ca\/en\/#organization","name":"Themespress","description":"Des tutoriels et ressources WordPress","url":"https:\/\/themespress.ca\/en\/"},{"@type":"Person","@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author","url":"https:\/\/themespress.ca\/en\/author\/daniel\/","name":"Daniel","image":{"@type":"ImageObject","@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93cd2188e40b3289d305e88acb676eb8b84078e50e06f4eb38a0152903b34c9d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Daniel"}},{"@type":"WebPage","@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#webpage","url":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/","name":"Display WooCommerce Product Categories - Themespress","description":"Share the post \"Display WooCommerce Product Categories\" Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a way to display your WooCommerce product categories outside of widgets. We will run a query that will display the categories matching the WooCommerce taxonomy. To find your WordPress taxonomy, simply access","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/themespress.ca\/en\/#website"},"breadcrumb":{"@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#breadcrumblist"},"author":{"@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author"},"creator":{"@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-Afficher-les-Cat\u00e9gories-Produits-WooCommerce-e1455719259176.jpg","@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#mainImage","width":894,"height":393,"caption":"Afficher les Cat\u00e9gories Produits WooCommerce"},"primaryImageOfPage":{"@id":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/#mainImage"},"datePublished":"2016-02-17T14:18:35-05:00","dateModified":"2022-09-11T11:23:08-04:00"},{"@type":"WebSite","@id":"https:\/\/themespress.ca\/en\/#website","url":"https:\/\/themespress.ca\/en\/","name":"Themespress","description":"Des tutoriels et ressources WordPress","inLanguage":"en-US","publisher":{"@id":"https:\/\/themespress.ca\/en\/#organization"}}]},"og:locale":"en_US","og:site_name":"Themespress - Des tutoriels et ressources WordPress","og:type":"article","og:title":"Display WooCommerce Product Categories - Themespress","og:description":"Share the post &quot;Display WooCommerce Product Categories&quot; Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a way to display your WooCommerce product categories outside of widgets. We will run a query that will display the categories matching the WooCommerce taxonomy. To find your WordPress taxonomy, simply access","og:url":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/","article:published_time":"2016-02-17T19:18:35-05:00","article:modified_time":"2022-09-11T15:23:08-04:00","twitter:card":"summary","twitter:title":"Display WooCommerce Product Categories - Themespress","twitter:description":"Share the post &quot;Display WooCommerce Product Categories&quot; Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a way to display your WooCommerce product categories outside of widgets. We will run a query that will display the categories matching the WooCommerce taxonomy. To find your WordPress taxonomy, simply access"},"aioseo_meta_data":{"post_id":"6378","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"Article","defaultPostTypeGraph":""},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"},\"blockGraphs\":[]}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-09-11 15:11:35","updated":"2025-06-08 02:09:05","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/themespress.ca\/en\/\" title=\"Accueil\">Accueil<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/themespress.ca\/en\/categorie\/tutorials\/\" title=\"Tutorials\">Tutorials<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDisplay WooCommerce Product Categories\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Accueil","link":"https:\/\/themespress.ca\/en\/"},{"label":"Tutorials","link":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/"},{"label":"Display WooCommerce Product Categories","link":"https:\/\/themespress.ca\/en\/display-woocommerce-product-categories\/"}],"_links":{"self":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts\/6378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/comments?post=6378"}],"version-history":[{"count":0,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts\/6378\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/media\/4501"}],"wp:attachment":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/media?parent=6378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/categories?post=6378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/tags?post=6378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}