Hi.
I have created a new taxonomy called 'Vendors' and a bunch of fields with MB Term Meta within 'Vendors'. URL, Image, Text etc.
I want to use this data in a post which is linked to 'Vendors'.
Specifically I am using Essential Grid. I have added a function which lists the usable terms within my post:
function my_post_meta( $content ) {
$my_meta = get_post_meta( get_the_ID() );
$my_meta_data = '<pre>' . print_r( $my_meta, true ) . '</pre>';
return $content . $my_meta_data;
}
if( !is_admin() ) {
add_filter( 'the_content', 'my_post_meta' );
}
How do I get the data from the taxonomy 'Vendors' to be useable in my post.
Clearly I'm a little new, so be patient with me...
Thanks, Carl.