I want to display a piece of metadata from different item in the current item record so just wondering the best way to go about.
I have tried the following piece of code but this doesn't work:
<?php
$item = get_record_by_id('Item', 1989);
$item_abstract = metadata('item', array('Dublin Core', 'Story Abstract'));
echo $item_abstract;
?>
So say I'm on record 1970, I want to include the story abstract metadata field from 1989 on the page as well as its coming from a catalogue entry.
Any help or advice would be hugely appreciated.
Thanks, Patrick.