Title: Make attributes work (linked)
Last modified: August 30, 2016

---

# Make attributes work (linked)

 *  Resolved [Rebastion](https://wordpress.org/support/users/sebh/)
 * (@sebh)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/)
 * Hi there
 * after searching all over, with my poor php skills I have come to an end of my
   search.
 * I want the list/table of product attributes that I created actually work for 
   the visitor, i.e. clicking on them works just like clicking on categories or 
   tags.
 * As you can see in this discussion
    [https://wordpress.org/support/topic/make-the-attributes-links?replies=7#post-7335486](https://wordpress.org/support/topic/make-the-attributes-links?replies=7#post-7335486)
 * I think at the end I found which file outputs the code, and I found about three
   tutorials that circle sloser to this problem. But none of them exactly nails 
   it, at least I don’t know how to implement it.
 * Can someone help? I don’t get why this isn’t standard behavior in the first place.
   Many thanks!
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466280)
 * Products > Product Attributes, edit. To enable archives.
 * Then you would need to customise this file to output the attribute + links, unless
   the plugin in the other thread works [https://github.com/woothemes/woocommerce/blob/master/templates/single-product/product-attributes.php](https://github.com/woothemes/woocommerce/blob/master/templates/single-product/product-attributes.php)
 * > Can someone help? I don’t get why this isn’t standard behavior in the first
   place. Many thanks!
 * because if you enable archives, they will be crawlable for one thing.
 *  Thread Starter [Rebastion](https://wordpress.org/support/users/sebh/)
 * (@sebh)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466281)
 * well I would want them crawlable, or I could put these taxonomies outside the
   crawling range with robots.txt or something
 * I know I know this is the file I would have to customise, but I don’t know how
   the code would have to look like, my php skills are too limited.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466283)
 * Did you see if the other plugin does it? It lists attributes, and archives can
   be enabled..
 *  Thread Starter [Rebastion](https://wordpress.org/support/users/sebh/)
 * (@sebh)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466284)
 * I dont quite understand where to put that code though, it doesnt work putting
   it into the same file or anything. And I dont see that plugin outputting a html
   table like the default code does for that info tab in the product view
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466285)
 * There was no code in the thread you linked to.
 * Take a look at:
 * [http://docs.woothemes.com/document/display-product-attribute-archive-links/](http://docs.woothemes.com/document/display-product-attribute-archive-links/)
   
   [http://themeforest.net/forums/thread/woocommerce-add-links-to-attribute-values/94924](http://themeforest.net/forums/thread/woocommerce-add-links-to-attribute-values/94924)
 *  Thread Starter [Rebastion](https://wordpress.org/support/users/sebh/)
 * (@sebh)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466288)
 * [http://docs.woothemes.com/document/display-product-attribute-archive-links/](http://docs.woothemes.com/document/display-product-attribute-archive-links/)
   
   this doesnt say where to put it, and that code certainly doesnt output any html
   tables….
 * [http://themeforest.net/forums/thread/woocommerce-add-links-to-attribute-values/94924](http://themeforest.net/forums/thread/woocommerce-add-links-to-attribute-values/94924)
   
   this sounds about right but i have no clue how or where to implement this I am
   afraid
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466289)
 * The 2nd one looks to be intended for [https://github.com/woothemes/woocommerce/blob/master/templates/single-product/product-attributes.php](https://github.com/woothemes/woocommerce/blob/master/templates/single-product/product-attributes.php)
   You can override that file via your theme [http://docs.woothemes.com/document/template-structure/](http://docs.woothemes.com/document/template-structure/)
 *  Thread Starter [Rebastion](https://wordpress.org/support/users/sebh/)
 * (@sebh)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466290)
 * Yea, any idea how the final code would look like in product-attributes.php then?
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466292)
 * [https://gist.github.com/mikejolley/e2e85f8883776211681c](https://gist.github.com/mikejolley/e2e85f8883776211681c)
 *  Thread Starter [Rebastion](https://wordpress.org/support/users/sebh/)
 * (@sebh)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466299)
 * Ah! Now that works (as long as the replacing excludes the TD tags, so your code
   goes between those).
 * Many thanks, that is what I was looking for exactly.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Make attributes work (linked)’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Rebastion](https://wordpress.org/support/users/sebh/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/make-attributes-work-linked/#post-6466299)
 * Status: resolved