Código PHP:
Ver original
<?php
$post_id = the_ID();
$queried_post = get_post($post_id);
echo $queried_post->post_title;
echo $queried_post->post_content;
?>
Ahora, lo que necesito es traer la imagen relacionada al id del post. ¿Qué opciones tengo para realizar esto?
 
 



