I made a custom post type “events”.
Then in this custom post I made a meta boxe in which I insert a <select> with the id of the custom post type “artists”.
Everything works well, but how can i get the artist name in the archive-events.php?
If in the loop I do: <?php echo get_post_meta($post->ID, ‘_artist_id’, true);?>
I get only the ID.