Hello hamizul !
I’m having the same trouble you had with the functions.php file.
I didn’t find where to paste the code :
function demo($mimes) {
if ( function_exists( 'current_user_can' ) )
$unfiltered = $user ? user_can( $user, 'unfiltered_html' ) : current_user_can( 'unfiltered_html' );
if ( !empty( $unfiltered ) ) {
$mimes['swf'] = 'application/x-shockwave-flash';
}
return $mimes;
}
add_filter('upload_mimes','demo');
Where in the php file did you paste it so to make it work ?
Thanx a million