function my_myme_types( $mime_types ) {
$mime_types['svg'] = 'image/svg+xml'; //Adding svg extension
$mime_types['psd'] = 'image/vnd.adobe.photoshop'; //Adding photoshop files
return $mime_types;
}
add_filter( 'upload_mimes', 'my_myme_types', 1, 1 );
Month: March 2019
Reinitialize Owl Carousel 1
$( ".owl-fade-slider .owl-carousel" ).data( 'owlCarousel' ).reinit( {
transitionStyle: "fade",
autoPlay: 4000
} );
Redirecting HTTP to HTTPS
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]