This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Custom filter to remove default image sizes from WordPress. | |
*/ | |
/* Add the following code in the theme's functions.php and disable any unset function as required */ | |
function remove_default_image_sizes( $sizes ) { | |
/* Default WordPress */ | |
unset( $sizes[ 'thumbnail' ]); // Remove Thumbnail (150 x 150 hard cropped) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$province= array( | |
'AG' => 'Agrigento', | |
'AL' => 'Alessandria', | |
'AN' => 'Ancona', | |
'AO' => 'Aosta', | |
'AR' => 'Arezzo', | |
'AP' => 'Ascoli Piceno', | |
'AT' => 'Asti', | |
'AV' => 'Avellino', |