Exclude a custom category from a list

I am puzzled at how that could possibly work, even a little. You are setting your $terms variable after you start to try to loop over it. That makes no sense. A quick rewrite would make this a little better: $html=””; $html .= ‘<ul class=”item-direct-filters”><li class=”first”><strong>view more:</strong></li>’; $taxonomy = ‘category’; $k = 0; $terms = … Read more