From 323e332b5b036c57e39cb345193eee1b59548684 Mon Sep 17 00:00:00 2001 From: Patrick Murray-John Date: Wed, 31 Oct 2018 09:47:47 -0400 Subject: [PATCH] Display media description rather than caption for 'Abstract/Description' Hopefully this will only affect the item display page for WP media, but it's worth some exploration around other settings to make sure the file isn't invoked elsewhere. Part of https://github.com/NEU-DSG/toolkit_requests/issues/120 --- inc/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/item.php b/inc/item.php index 8b9347f3..61f47542 100755 --- a/inc/item.php +++ b/inc/item.php @@ -16,7 +16,7 @@ function get_item_details($data, $assoc=false){ $html = ''; if ($repo == "wp"){ $abs = "Abstract/Description"; - $data->mods->$abs = $data->post_excerpt; + $data->mods->$abs = $data->post_content; $datec = "Date created"; $data->mods->$datec = $data->post_date; }