Hi,
This extension is primarily used to to display a linked list of terms from a product attribute, such as all brand links from a brands attribute.
However, depending on your attributes configuration it may be possible to achieve this.
The list won’t be linked if you are using the shortcode with archive links enabled e.g.
[wcpas_product_attributes attribute="your-attribute" archive_links="1" hide_empty="0"]
And where the attribute in Products > Attributes > Hover over the attribute and click edit, and have archives disabled.
The configuration above would stop links appearing as there are no archive pages to link to.
Then you could change the styling of the list to display like a singular line using some custom CSS like this:
.wcpas-product-attributes {
list-style: none;
margin: 0;
padding: 0;
}
.wcpas-product-attributes li {
display: inline;
}
.wcpas-product-attributes li:after {
content: ', ';
}
.wcpas-product-attributes li:last-of-type:after {
content: '';
}
This is of course dependent on whether you require archive pages to be enabled for those, however if you do I don’t see why you wouldn’t link through to them.
We’ll investigate adding the ability to display as a singular line linked/non-linked in for potential inclusion in future releases.
Thank you,
-
This reply was modified 11 months, 3 weeks ago by
99w.