Created
February 23, 2016 18:35
-
-
Save alandbh/b574dacb87e7ba30d556 to your computer and use it in GitHub Desktop.
Altera / configura o tamanho das imagens
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
/* ---------------- | |
Altera os tamanhos de imagens | |
Alan | |
----------------- */ | |
function novos_tamanhos() { | |
add_image_size( 'banner', 824, 400, true ); | |
add_image_size( 'noticias-grande', 720, 345, true ); | |
add_image_size( 'noticias-pequena', 506, 220, true ); | |
add_image_size( 'quadrado', 500, 500, true ); | |
} | |
call_user_func('novos_tamanhos'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment