• Resolved DerHerrMeier

    (@derherrmeier)


    Hi and thanks für the plugin.

    I´ve been searching and trying for hours now but still have no clue. I have a custom-pot-type ‘books’ and a CPTonomy ‘authors’. What I would like to do is pull the entire post-content (title, text, featured image) of the assigned author on the book single-pages. Is this at all possible? I only managed to display the title via
    wp_get_object_terms( $post->ID, 'authors' );
    and
    echo '<h5>' . $term->name . '</h5>';
    But this doesn´t seem to work for the content and post-thumbnail. What is the right syntax?
    I appreciate any hints. Many thanks!

    https://wordpress.org/plugins/cpt-onomies/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter DerHerrMeier

    (@derherrmeier)

    I solved this with a workaround. I added custom fields for the information I intended to pull (text and image-URL) to the ‘author’-CPT-onomy and get_post_meta queries in the corresponding template:
    $image = get_post_meta( $author->term_id, 'image-url', true );

    Topic not really resolved because I still have no answer to the above question.

    Cheers.

    I am also looking for same type of help. I am using video and product post type as a taxonomy and i want to get thumbnail and all info of that taxonomy on associated post page. I am using artist as a Post type and product and video are taxonomy for artist post type

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stupid Question: Not possible to pull content and featured image?’ is closed to new replies.