I have two images attached to a page. One is being used as the featured image, and I want the other to automatically be displayed at the designated spot in the template (within the loop) at full size. The image I want is the first image attachment, so as I understand, I should be able to simply use:
<?php echo wp_get_attachment_image(1, 'full'); ?>
But, this is returning nothing. What am I missing?
1
an example ID, or are you trying to use1
as the attachment ID(i very much doubt there's an attachment with that ID).