Make first letter of my taxonomy uppercase

Build the links yourself: $terms = get_the_terms($post->ID, ‘trpropcity’); if($terms) foreach($terms as $term) echo ‘<a href=”‘.get_term_link($term, ‘trpropcity’).'”>’.ucwords(strtolower($term->name)).'</a>’;

“Reversable” and “Re-useable” Subcategories (or other taxonomic structure)

The only possible way I can think to achieve this would be through getting neck deep in rewrite rules. You would have to flip your actual category structure around so that ‘exotic’ is the parent category, with two subcategories, ‘design’ and ‘travel’. Obviously you would put any posts you wanted in /design/exotic, into /exotic/design, same … Read more

Manually query posts by taxonomy with MySQL

This worked fine for me. The postmeta inclusion might be a bit messy. Without it, I got about 150 results. With it, I got over 5000. I never go an empty result. Since postmeta will have anywhere from zero to hundreds of items per post, it is going to make a new row for every … 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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)