MagniumThemes WordPress WooCommerce brands plugin have 3 shortcodes (and corresponding WPBakery Visual Composer elements).

Brands listing shortcode

Display your brands listing, check example page here. Useful for creating “Brands” page.

[shortcode_mg_brands_list show_abc="1" group_items="1" show_abc_title="1" show_images="2" hide_empty="0" show_count="1" show_description="1"]

Attributes and values:

  • group_items – Group items by alphabet (No – show as simple list)
    • 1 – Yes
    • 0 – No
  • show_abc – Show ABC filter links (alphabet):
    • 1 – Yes
    • 0 – No
  • show_abc_title – Show ABC letters in brands groups
    • 1 – Yes
    • 0 – No
  • show_images – Display type
    • 0 – Show text titles
    • 1 – Show brand logos
    • 2 – Show text titles and brand logos
  • hide_empty – Hide empty brands (without products)
    • 1 – Yes
    • 0 – No
  • show_count – Show count for every brands products near brand text title
    • 1 – Yes
    • 0 – No
  • show_description – Show brand description text
    • 1 – Yes
    • 0 – No

Brands Slider shortcode

Display responsive brands logos slider, check examples here. Useful for using on shop homepage.

[shortcode_mg_brands_slider slider_title="Brands slider" auto_slide="1" slide_items="5" show_arrows="1" show_images="1" items_in="" hide_empty="0" show_count="0" items_limit="10"]

Attributes and values:

  • slider_title – Title string (optional)
  • auto_slide – Slider autoslide
    • 1 – Yes
    • 0 – No
  • slide_items – Number of columns to show in slider per row (integer)
  • show_arrows – Show slider navigation arrows
    • 1 – Yes
    • 0 – No
  • show_images – Display type
    • 1 – Show brand logos
    • 0 – Show brand logos + text titles
  • items_in – Show only specified brands in slider – ID’s list separated by comma (for example: 25,47,60,78). You can get brand ID when you edit brand page in WP admin panel (check page url to see digital value for tag_ID= variable in url)
  • hide_empty – Hide empty brands (without products)
    • 1 – Yes
    • 0 – No
  • show_count – Show count for every brands products near brand text title
    • 1 – Yes
    • 0 – No
  • items_limit – Limit slider items, digital value (for example: 15)

Products by Brand listing shortcode

Display WooCommerce products grid filtered by Brand, check examples here. Useful for using on shop homepage.

[shortcode_products_by_brand title="Sample brand products" per_page="12" columns="4" orderby="title" order="desc" brand="Nike" operator="IN"]

Attributes and values:

  • title – Title string (optional)
  • per_page– Number of products to show (integer)
  • columns– Number of columns (integer, work in some woocommerce themes)
  • orderby – Order by value sorting
    • none
    • ID
    • title
    • date
    • rand
  • order – Sort order
    • desc
    • ask
  • brand – Brand name for filter (string)
  • operator – Filtering logical operator
    • IN
    • NOT IN
    • AND