add favicon.ico data.

This commit is contained in:
CBS Information System 2020-11-12 16:15:45 +09:00
parent c96e83d78a
commit 5542df9ae3
2 changed files with 4 additions and 3 deletions

View File

@ -140,14 +140,15 @@ function cbsonline_shortcode_TopBox($atts, $content = null)
}
add_shortcode('topbox', 'cbsonline_shortcode_TopBox');
// allow illustrator file upload
function cbsonline_allow_upload_ai($mimes)
// allow additional image file upload
add_filter('upload_mimes', 'cbsonline_allow_additional_image_upload');
function cbsonline_allow_additional_image_upload($mimes)
{
$mimes['ai'] = 'image/x-illustrator';
$mimes['ico'] = 'image/vnd.microsoft.icon';
return $mimes;
}
add_filter('upload_mimes', 'cbsonline_allow_upload_ai');
// force override Archive widget arguments
add_filter('widget_archives_args', 'cbsonline_widget_archives_args');

BIN
images/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB