I use the attachments page to display a lot more technical information (EXIF Data) about a given uploaded image – however under 3.6 the description (post_content) is not getting pulled through – nor are two custom fields that I retrieve using the meta functions
The following pair of functions do not return their values – although the data is stored in the database
$photographer = get_post_meta(get_the_id(), ‘_wp_attachment_photographer_name’, true);
$photographerurl = get_post_meta(get_the_id(), ‘_wp_attachment_photographer_url’, true);
Image Description: <?php $post->post_content; ?>
I have verified this by taking the same media to another test site running 3.5.1 and uploading it there, then using the same image.php template – on 3.5.1 the values are populated – under 3.6-beta1-24041 they are not
- The topic ‘Attachments page under 3.6 – cannot display post_content nor additional fields’ is closed to new replies.