[ create a new paste ] login | about

Link: http://codepad.org/XRSDXFcx    [ raw code | output | fork ]

PHP, pasted on Oct 26:
1
2
3
4
5
// in functions.php
if ( function_exists( 'add_image_size' ) ) {
        // set image size here
	add_image_size( 'homepage-thumb', 300, 9999 );
}


Output:
1
2
3
4
5
// in functions.php
if ( function_exists( 'add_image_size' ) ) {
        // set image size here
	add_image_size( 'homepage-thumb', 300, 9999 );
}


Create a new paste based on this one


Comments: