Hi,
I'm busy with this WordPress website: http://tftinstallatie.inpointbox.nl/producten/systeemplafondarmaturen/test-02/
The link (above) shows a post. It's a product, which I have made with custom post types. At the left you see al the product cats, created with a taxomony.
That works realy nice. On the archive page the menu shows correct the active taxomony with "current_cat". But when you're on a product, the current taxomony don't get a "current_cat" class.
How can I fix this, so that the menu get also a current class when the product is showing.
This is the code to list the taxomony list.
<?php
$taxonomy = 'productcats';
$orderby = 'name';
$show_count = 1; // 1 for yes, 0 for no
$pad_counts = 0; // 1 for yes, 0 for no
$hierarchical = 1; // 1 for yes, 0 for no
$title = 'Productcategoriën:';
$args = array(
'taxonomy' => $taxonomy,
'orderby' => $orderby,
'show_count' => $show_count,
'pad_counts' => $pad_counts,
'hierarchical' => $hierarchical,
'title_li' => $title
);
?>
Thanks in advance!
Derk