{"id":96,"date":"2018-03-07T13:05:47","date_gmt":"2018-03-07T13:05:47","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/?p=96"},"modified":"2024-12-31T15:58:13","modified_gmt":"2024-12-31T15:58:13","slug":"brand-list-shortcode","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/","title":{"rendered":"Brands List"},"content":{"rendered":"\n<p>The <b>Brands List<\/b> is a block or shortcode that shows a list of all the brands available in your shop but without filters.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">block<\/h5>\n\n\n\n<p>Following you find the options of the block.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Title<\/strong>: you can enter a custom title before this block<\/li>\n\n\n\n<li><strong>Paginate items<\/strong>: choose whether to paginate the items or not<\/li>\n\n\n\n<li><strong>Items per page<\/strong>: if you paginate items, you can choose how many items per page to show<\/li>\n\n\n\n<li><strong>Show only brands of the current category<\/strong>: enable this option to dinamically show only the brands of the current category. This option is useful if you are displaying this block on a category page or on a filtered page.<\/li>\n\n\n\n<li><strong>Enter the list of category slugs<\/strong> (separated with a comma) to show. Leave empty to show all categories. This option overrides the previous option.<\/li>\n\n\n\n<li><strong>Enter the list of brand slugs<\/strong> (separated with a comma) to show. Leave empty to show all brands.<\/li>\n\n\n\n<li><strong>Enter the parent brand ID to show<\/strong>. All the sub-brands will be displayed. Leave empty to show all brands.<\/li>\n\n\n\n<li><strong>Order by<\/strong> &#8211; choose here how to sort the displayed brands:\n<ul class=\"wp-block-list\">\n<li>None<\/li>\n\n\n\n<li>Name <\/li>\n\n\n\n<li>Slug<\/li>\n\n\n\n<li>Term ID <\/li>\n\n\n\n<li>Description<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Order<\/strong> &#8211; if any order option has been selected, choose whether to sort them:\n<ul class=\"wp-block-list\">\n<li>Ascending <\/li>\n\n\n\n<li>Descending<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Show items count for each brand<\/strong>: this allows you to show a counter with the total number of products in each brand.<\/li>\n\n\n\n<li><strong>Hide brands with no products<\/strong>: choose whether or not to hide brands that do not include any product.<\/li>\n\n\n\n<li><strong>Shortcode style<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Default <\/li>\n\n\n\n<li>Big header<\/li>\n\n\n\n<li>Small header<\/li>\n\n\n\n<li>Shadow<\/li>\n\n\n\n<li>Boxed <\/li>\n\n\n\n<li>Highlight<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Highlight color selector<\/strong> (available only for the <em>Hightlight <\/em>style and if the <em>Show items count <\/em>is enabled): this is the accent color of the counter items (yellow in the screenshot below)<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1282\" height=\"705\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg\" alt=\"Brands list\" class=\"wp-image-459\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg 1282w, https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list-300x165.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list-1024x563.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list-768x422.jpg 768w\" sizes=\"auto, (max-width: 1282px) 100vw, 1282px\" \/><\/a><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Shortcode<\/h5>\n\n\n\n<p>The same options are available in the shortcode as attributes. Below you find all the attributes and their accepted values.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>&#8216;title&#8217;<\/b>: [yes \/ no]<\/li>\n\n\n\n<li><strong>&#8216;pagination&#8217;<\/strong>: [yes \/no] enable\/disable brand pagination<\/li>\n\n\n\n<li><strong>&#8216;per_page&#8217;<\/strong>: [int] number of brands to show at a time; enter the value &#8220;-1&#8221; if you want to show them all together<\/li>\n\n\n\n<li><b>&#8216;autosense_category&#8217;<\/b>: [yes \/ no] if set to &#8216;yes&#8217; it only shows the brands of the current category.<\/li>\n\n\n\n<li><b>&#8216;category&#8217;<\/b>: [slug \/ all] show brands of one or more product categories; you can specify more category slugs and separate them with commas (shoes,jackets) or select them all by specifying the value &#8216;all&#8217; in the attribute.<\/li>\n\n\n\n<li><b>&#8216;show_count&#8217;<\/b>: [yes \/ no] show the number of products associated to each brand<\/li>\n\n\n\n<li><b>&#8216;hide_empty&#8217;<\/b>: [yes \/ no] hide free products<\/li>\n\n\n\n<li><b>&#8216;style&#8217;<\/b>: [default \/ big-header \/ small-header \/ shadow \/ boxed \/ highlight] shortcode layout<\/li>\n\n\n\n<li><b>&#8216;highlight_color&#8217;<\/b>: code for the colour to assign to shortcode text (available only if &#8216;highlighted&#8217; style is selected)<\/li>\n<\/ul>\n\n\n\n<p><strong><em>Shortcode example<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[yith_wcbr_brand_list title=\"Brand List\" pagination=\"no\" per_page=\"-1\" show_count=\"yes\" hide_empty=\"no\" style=\"big-header\" highlight_color=\"#ffd900\"]<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The Brands List is a block or shortcode that shows a list of all the brands available in your shop but without filters. block Following you find the options of the block. Shortcode The same options are available in the shortcode as attributes. Below you find all the attributes and their accepted values. Shortcode example &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Brands List<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-shortcodes"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Brands Add-On: Brands List<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Brands Add-On: Brands List\" \/>\n<meta property=\"og:description\" content=\"The Brands List is a block or shortcode that shows a list of all the brands available in your shop but without filters. block Following you find the options of the block. Shortcode The same options are available in the shortcode as attributes. Below you find all the attributes and their accepted values. Shortcode example &hellip; Continue reading Brands List\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Brands Add-On\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-07T13:05:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-31T15:58:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1282\" \/>\n\t<meta property=\"og:image:height\" content=\"705\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Alessio Torrisi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessio Torrisi\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/\",\"name\":\"YITH Brands Add-On: Brands List\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg\",\"datePublished\":\"2018-03-07T13:05:47+00:00\",\"dateModified\":\"2024-12-31T15:58:13+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Brands List\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/\",\"name\":\"YITH WooCommerce Brands Add-On\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"caption\":\"Alessio Torrisi\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Brands Add-On: Brands List","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:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/","og_locale":"en_US","og_type":"article","og_title":"YITH Brands Add-On: Brands List","og_description":"The Brands List is a block or shortcode that shows a list of all the brands available in your shop but without filters. block Following you find the options of the block. Shortcode The same options are available in the shortcode as attributes. Below you find all the attributes and their accepted values. Shortcode example &hellip; Continue reading Brands List","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/","og_site_name":"YITH WooCommerce Brands Add-On","article_published_time":"2018-03-07T13:05:47+00:00","article_modified_time":"2024-12-31T15:58:13+00:00","og_image":[{"width":1282,"height":705,"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg","type":"image\/jpeg"}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/","name":"YITH Brands Add-On: Brands List","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg","datePublished":"2018-03-07T13:05:47+00:00","dateModified":"2024-12-31T15:58:13+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-content\/uploads\/sites\/198\/2022\/04\/Brands-list.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/premium-version-settings\/shortcodes\/brand-list-shortcode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/"},{"@type":"ListItem","position":2,"name":"Brands List"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/","name":"YITH WooCommerce Brands Add-On","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","caption":"Alessio Torrisi"},"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-json\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":7,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"predecessor-version":[{"id":642,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-json\/wp\/v2\/posts\/96\/revisions\/642"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-brands-add-on\/wp-json\/wp\/v2\/tags?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}