Function: tcp attribute list


Displays the list of attributes associated with the current product. This tag must be within The Loop.


<?php tcp_attribute_list( array( 'fabric', 'colour', 'tcp_product_tag' ) ); ?>

The html result could be:

<table class="tcp_attribute_list_12">
<tr class="tcp_odd">
<th scope="row">Fabric</th>
<th scope="row">Color</th>

The style class “tcp_attribute_list_12” is formed using the post id at the end.


(Array) List of taxonomies: array( taxonomy_1, taxonomy_2 ) or false to see all the taxonomies.

Change Log

Since 1.1.4