{"id":286,"date":"2020-03-13T23:50:07","date_gmt":"2020-03-13T23:50:07","guid":{"rendered":"https:\/\/demo.themesharbor.com\/matthew\/?page_id=286"},"modified":"2020-03-13T23:50:07","modified_gmt":"2020-03-13T23:50:07","slug":"product-categories-list","status":"publish","type":"page","link":"https:\/\/betfenb.com\/?page_id=286","title":{"rendered":"Product Categories List"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This block is designed to show your product categories as a list or dropdown. Below is example of the list.<\/p>\n\n\n<div data-block-name=\"woocommerce\/product-categories\" class=\"wp-block-woocommerce-product-categories wc-block-product-categories is-list \" style=\"\"><ul class=\"wc-block-product-categories-list wc-block-product-categories-list--depth-0\">\t\t\t\t<li class=\"wc-block-product-categories-list-item\">\t\t\t\t\t<a style=\"\" href=\"https:\/\/betfenb.com\/?product_cat=accessories\"><span class=\"wc-block-product-categories-list-item__name\">Accessories<\/span><\/a><span class=\"wc-block-product-categories-list-item-count\"><span aria-hidden=\"true\">3<\/span><span class=\"screen-reader-text\">3 produits<\/span><\/span>\t\t\t\t<\/li>\t\t\t\t\t\t\t<li class=\"wc-block-product-categories-list-item\">\t\t\t\t\t<a style=\"\" href=\"https:\/\/betfenb.com\/?product_cat=illustrations\"><span class=\"wc-block-product-categories-list-item__name\">Illustrations<\/span><\/a><span class=\"wc-block-product-categories-list-item-count\"><span aria-hidden=\"true\">10<\/span><span class=\"screen-reader-text\">10 produits<\/span><\/span>\t\t\t\t<\/li>\t\t\t\t\t\t\t<li class=\"wc-block-product-categories-list-item\">\t\t\t\t\t<a style=\"\" href=\"https:\/\/betfenb.com\/?product_cat=workshop\"><span class=\"wc-block-product-categories-list-item__name\">Workshop<\/span><\/a><span class=\"wc-block-product-categories-list-item-count\"><span aria-hidden=\"true\">3<\/span><span class=\"screen-reader-text\">3 produits<\/span><\/span>\t\t\t\t<\/li>\t\t\t<\/ul><\/div>\n\n\n<p class=\"wp-block-paragraph\">Here is an example of dropdown.<\/p>\n\n\n<div data-block-name=\"woocommerce\/product-categories\" data-is-dropdown=\"true\" class=\"wp-block-woocommerce-product-categories wc-block-product-categories is-dropdown \" style=\"\">\n\t\t\t<div class=\"wc-block-product-categories__dropdown\">\n\t\t\t\t<label\n\t\t\t\tclass=\"screen-reader-text\"\n\t\t\t\t\tfor=\"product-categories-6a1cd329b8d89-select\"\n\t\t\t\t>\n\t\t\t\t\tS\u00e9lectionner une cat\u00e9gorie\n\t\t\t\t<\/label>\n\t\t\t\t<select aria-label=\"Liste des cat\u00e9gories avec le nombre de produits\" id=\"product-categories-6a1cd329b8d89-select\">\n\t\t\t\t\t<option value=\"false\" hidden>\n\t\t\t\t\t\tS\u00e9lectionner une cat\u00e9gorie\n\t\t\t\t\t<\/option>\n\t\t\t\t\t\n\t\t\t\t<option value=\"https:\/\/betfenb.com\/?product_cat=accessories\">\n\t\t\t\t\t\n\t\t\t\t\tAccessories\n\t\t\t\t\t(3)\n\t\t\t\t<\/option>\n\t\t\t\t\n\t\t\t\n\t\t\t\t<option value=\"https:\/\/betfenb.com\/?product_cat=illustrations\">\n\t\t\t\t\t\n\t\t\t\t\tIllustrations\n\t\t\t\t\t(10)\n\t\t\t\t<\/option>\n\t\t\t\t\n\t\t\t\n\t\t\t\t<option value=\"https:\/\/betfenb.com\/?product_cat=workshop\">\n\t\t\t\t\t\n\t\t\t\t\tWorkshop\n\t\t\t\t\t(3)\n\t\t\t\t<\/option>\n\t\t\t\t\n\t\t\t\n\t\t\t\t<\/select>\n\t\t\t<\/div>\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"wc-block-product-categories__button\"\n\t\t\t\taria-label=\"Acc\u00e9der \u00e0 la cat\u00e9gorie\"\n\t\t\t\tonclick=\"const url = document.getElementById( 'product-categories-6a1cd329b8d89-select' ).value; if ( 'false' !== url ) document.location.href = url;\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\tfocusable=\"false\"\n\t\t\t\t\tclass=\"dashicon dashicons-arrow-right-alt2\"\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\twidth=\"20\"\n\t\t\t\t\theight=\"20\"\n\t\t\t\t\tviewBox=\"0 0 20 20\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M6 15l5-5-5-5 1-2 7 7-7 7z\" \/>\n\t\t\t\t<\/svg>\n\t\t\t<\/button>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>This block is designed to show your product categories as a list or dropdown. Below is example of the list. Here is an example of dropdown.<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":73,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"class_list":["post-286","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/betfenb.com\/index.php?rest_route=\/wp\/v2\/pages\/286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/betfenb.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/betfenb.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/betfenb.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/betfenb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=286"}],"version-history":[{"count":0,"href":"https:\/\/betfenb.com\/index.php?rest_route=\/wp\/v2\/pages\/286\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/betfenb.com\/index.php?rest_route=\/wp\/v2\/pages\/73"}],"wp:attachment":[{"href":"https:\/\/betfenb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}