Commit 87ce3613 by rajshah

extended format type in resource listing

parent f0d16cf3
......@@ -90,10 +90,13 @@ if (isset($resources_listing) && is_array($resources_listing) && !empty($resourc
break;
case 'xls':
case 'xlsx':
case 'vnd.ms-excel':
case 'vnd.openxmlformats-officedocument.spreadsheetml.sheet':
$icon_url = get_field('xls_image', 'option');
break;
case 'ppt':
case 'pptx':
case 'vnd.openxmlformats-officedocument.presentationml.presentation':
$icon_url = get_field('ppt_image', 'option');
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment