add favicon.ico data.
This commit is contained in:
parent
c96e83d78a
commit
5542df9ae3
@ -140,14 +140,15 @@ function cbsonline_shortcode_TopBox($atts, $content = null)
|
|||||||
}
|
}
|
||||||
add_shortcode('topbox', 'cbsonline_shortcode_TopBox');
|
add_shortcode('topbox', 'cbsonline_shortcode_TopBox');
|
||||||
|
|
||||||
// allow illustrator file upload
|
// allow additional image file upload
|
||||||
function cbsonline_allow_upload_ai($mimes)
|
add_filter('upload_mimes', 'cbsonline_allow_additional_image_upload');
|
||||||
|
function cbsonline_allow_additional_image_upload($mimes)
|
||||||
{
|
{
|
||||||
$mimes['ai'] = 'image/x-illustrator';
|
$mimes['ai'] = 'image/x-illustrator';
|
||||||
|
$mimes['ico'] = 'image/vnd.microsoft.icon';
|
||||||
|
|
||||||
return $mimes;
|
return $mimes;
|
||||||
}
|
}
|
||||||
add_filter('upload_mimes', 'cbsonline_allow_upload_ai');
|
|
||||||
|
|
||||||
// force override Archive widget arguments
|
// force override Archive widget arguments
|
||||||
add_filter('widget_archives_args', 'cbsonline_widget_archives_args');
|
add_filter('widget_archives_args', 'cbsonline_widget_archives_args');
|
||||||
|
BIN
images/favicon.ico
Normal file
BIN
images/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
Loading…
Reference in New Issue
Block a user