Product Attributes Shortcode

Available Parameters

title: Title of this shortcode
parent: Parent category ID
numbers: Numbers of categories to show ( empty = all )
columns: Numbers of columns per row
orderby: ID, slug, count ( empty = default “drag&drop” order )
order: asc ( default ), desc
image_width: default = Catalog Images width in WooCommerce Settings
image_height: default = Catalog Images height in WooCommerce Settings
image_crop: yes / no, default = Catalog Images hard crop in WooCommerce Settings
show_title: yes (default) / no : Show category title
show_count: yes (default) / no : Show category count

Example 1

return all “brand” product attributes

[prima_product_attributes attribute="brand" title="Brand Attributes"]

There is no "brand" product attribute taxonomy in the current shop.

Example 2

return all “brand” product attributes in 3 columns per row

[prima_product_attributes attribute="brand" title="Brand Attributes" columns="3"]

There is no "brand" product attribute taxonomy in the current shop.

Example 3

return four “brand” product attributes in 4 columns per row

[prima_product_attributes attribute="brand" title="Brand Attributes" numbers="4" columns="4"]

There is no "brand" product attribute taxonomy in the current shop.

Example 4

return four “brand” product attributes in 4 columns per row and hide category count

[prima_product_attributes attribute="brand" title="Brand Attributes" numbers="4" columns="4" show_count="no"]

There is no "brand" product attribute taxonomy in the current shop.

Example 5

return four “brand” product attributes in 4 columns per row and hide category title

[prima_product_attributes attribute="brand" title="Brand Attributes" numbers="4" columns="4" show_title="no"]

There is no "brand" product attribute taxonomy in the current shop.

Example 6

return four “brand” product attributes in 4 columns per row and ordered by slug name

[prima_product_attributes attribute="brand" title="Brand Attributes" numbers="4" columns="4" orderby="slug"]

There is no "brand" product attribute taxonomy in the current shop.

Example 7

return four “brand” product attributes in 4 columns per row and ordered by category count

[prima_product_attributes attribute="brand" title="Brand Attributes" numbers="4" columns="4" orderby="count"]

There is no "brand" product attribute taxonomy in the current shop.

Example 8

return four “brand” product attributes in 4 columns per row and custom image size (portrait style)

[prima_product_attributes attribute="brand" title="Brand Attributes" numbers="4" columns="4" image_width="125" image_height="200"]

There is no "brand" product attribute taxonomy in the current shop.