Category vs Tag vs Table

I’m sorry I can’t add to the comment section due to reputation privileges. If you feel that the default combination of Categories, Tags and Post Types is too limiting to link your content together logically, you should consider Custom Taxonomies. You can still use tags to link together articles about a common subject, and use … Read more

Show thumbnail for category?

There’s a great plugin called Taxonomy Images. It lets you set one image per category that you can then access in all sorts of ways. It’s a little funky in that it uses some custom filters to return the images, but the documentation is pretty good and you should be able to figure it out. … Read more

How to show in search results posts with a particular tag in a particular category?

Given the way categories & tags are setup in WordPress this would not work from a logical standpoint. The issue here is that tags have no way to be connected directly to a category, they are mutually exclusive from each other. The subcategories would work because a subcategory is directly related to is parent category … Read more

Add custom taxonomy under the category title

I FINALLY figured it out. Phew. Answer is as follows: add_action( ‘woocommerce_after_subcategory’, ‘my_add_cat_description’, 12); function my_add_cat_description ($category) { $cat_id=$category->term_id; $prod_term=get_term($cat_id,’product_cat’); $term_meta = get_option( “taxonomy_$cat_id” ); echo ‘<div class=”cat_desc”>’.$term_meta[‘custom_term_meta’].'</div>’; } I hope this saves someone some time.

Format Brand value in Category view [closed]

If i’m understood properly, you just have to remove the anchor from your code. Simply use: echo $brand->name; Instead of: echo ‘<a href=”‘.get_term_link($brand->term_id).'”>’.$brand->name.'</a>’; This will just echo the name of your brand. If you want to style it, you can add a class to it as the following: echo ‘<span class=”my-brand”>’.$brand->name.'</span>’; And then use the … Read more