WordPress custom post type queries

This all depends on what you’re actually saving in your post meta. If you’re actually saving the ID you could create a secondary query on your single-post_type.php page. <?php if( have_posts() ) : ?> <?php while( have_posts() ) : the_post(); $cpt2_meta = get_post_meta( $post->ID, ‘_meta_name’, true ); // Get out Post Type 2 Meta ?> … Read more