Skip to content

Commit

Permalink
Display media description rather than caption for 'Abstract/Description'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
patrickmj committed Oct 31, 2018
1 parent 4047c68 commit 323e332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/item.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 323e332

Please # to comment.