Link fields in taxonomy to post

Support General Link fields in taxonomy to post

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #12601
    Carl MitchellCarl Mitchell
    Participant

    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.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.