Chief Alchemist - Business Consulting For The 21st Century Via A Holistic & Intelligent Approach
Share RSS 2.0 feed for Sign up for the mailing list. Follow Chief Alchemist on Twitter. 'Like' the Chief Alchemist's page on Facebook. See what Chief Alchemist has been Q&A'ing on Quora. Chief Alchemist bookmarks & highlights on Follow the Chief Alchemist on Chief Alchemist channel on Chief Alchemist on Flickr. Mark 'Chief Alchemist' Simchock on LinkedIn. Free Initial Consultation. Email Chief Alchemist. Phone Chief Alchemist.
  • Mark ‘Chief Alchemist’ Simchock
  • 'Email me.Email => ca .at. ChiefAlchemist .dot. com
  • 'Phone me.Alchemy United => 732 997-0028
  • Free initial consultation.Free => Initial Consultation
  • Please be sure to subscribe to your communication channels of choice.
  • Click To Close => The small green (consultation), red (email) or blue (phone) icons in the top upper right.
Business Consulting For The 21st Century Via A Holistic & Intelligent Approach

Bonus function for WP Ultimate Taxonomy Manager plugin

FYI => As part of my master plan to develop the AU_Community WordPress theme, aside from integrating the AU plugin family, I also want to add taxonomies to the mix. As the new & improved plan sits on my drawing board today there are a  couple essential needs that taxonomies can satisfy.

Sorry, you’re going to have to wait to see HCH ( in full bloom before I tip my hand on where and how taxonomies are fitting into the mix. That said, I promise you’ll be impressed once that envelope has been pushed. Nothing earth shattering but “Aha” will be heard plenty of times.

The plugin I’ve settled on is XYDAC’s Ultimate Taxonomy Manager.

Sorry again, I’m not going to tell you why this plugin is the best fit. You’ll just have to trust me when I tell you that it is. What I am willing to share today is this function that supplement’s XYDAC’s foundation.
if ( !function_exists('funct_GetTaxonomyField') ){
function funct_GetTaxonomyField($str_PostID, $str_TaxTerm, $str_TaxTermField){
$arr_UTM = xydac_cloud ($str_TaxTerm,'',$str_TaxTermField);
$arr_GetTerm = wp_get_post_terms($str_PostID, $str_TaxTerm);
$str_ReturnStr = '';
foreach ($arr_GetTerm as $arr_GetTermRow) {
$str_ReturnStr .= htmlspecialchars_decode($arr_UTM[$arr_GetTermRow->name][$str_TaxTermField]);
} // end foreach
return $str_ReturnStr;
} // end function
} // end if

Just paste this function into your theme’s function file and use it for get multiple values of a given custom field for a given taxonomy term. Best I could tell the specific functionality of UTM that I’m exploiting doesn’t support returning multiples. Now you can.

The final step will be to toss XYDAC a few bucks for making more AU innovative magic happen.

  1. Eric

    Thanks so much for your function, it will help lots of people out t here, but there is one error.

    The line $str_ReturnStr .= htmlspecialchars_decode($arr_UTM[$arr_GetTermRow->name][$str_TaxTermField]);

    needs to use slug instead…

    $str_ReturnStr .= htmlspecialchars_decode($arr_UTM[$arr_GetTermRow->slug][$str_TaxTermField]);


  2. Chief Alchemist

    Hello Eric. Thanks for pointing that out. It could be there’s been a update to Ultimate Taxonomy Manager that shifted the loophole I exploited. Regardless, glad I could help. And thanks again for your added knowledge.

Will not be published. Required.
Please include http://