1. Home
  2. ReHub Theme
  3. Affiliate settings
  4. Brand/Taxonomy archives and Link Blocks

Brand/Taxonomy archives and Link Blocks

If you enabled “store” taxonomy, you can show your brands in different parts of your site. For example, you can create page and show there alphabet archive of all brands. We have shortcode wpsm_tax_archive for this

You can find it in Shortcode generator (Taxonomy/Brand/Attribute Directory shortcode)

Some examples. This shortcode will show taxonomy Brands of Products as Link Block

[wpsm_tax_archive taxonomy="store"]

Design Of Link block is next

If you need the same for Affiliate Stores of Posts, use

[wpsm_tax_archive taxonomy="dealstore"]


Shortcode has some additional parameters and can be used for creating archives for any custom taxonomy. Here, explanation for parameters:


alpha is default type, so, you can use shortcode with this parameter. Such shortcode will show structured archive with sort by alphabet. If you add parameter


shortcode will output archive as compact list of tags.


Shortcode will show all logos for all available stores. Logos can be set for Brands when you  Edit Brand 

When you use type as Logo or Alphabet, you can also set height of images with parameter imageheight. Default is 50

[wpsm_tax_archive type="logo" imageheight=50]

You can show not only brand taxonomy, but any taxonomy. Set slug in parameter


You can also show List of attribute links of woocommerce. Example

[wpsm_tax_archive taxonomy="pa_color"]

Important!!! All attributes of woocommerce has prefix pa_ before slug.

You can use Limit parameter


Can be useful with Random order parameter


Will randomize order of returned taxonomy.

If you want to show only child taxonomy of your hierarchical taxonomy, use


will show all taxonomies which are child of Taxonomy with ID = 22

How to find taxonomy ID