Created
December 19, 2014 10:55
-
-
Save vishalbasnet23/f1707f6d64e51016b3c6 to your computer and use it in GitHub Desktop.
Custom Image Source with BFI outside loop
This file contains hidden or 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 | |
| /** | |
| * BFI Thumb For Custom Image Src | |
| */ | |
| function code_custom_img( $image_src, $image_width, $image_height ) { | |
| $custom_image_src = bfi_thumb( $image_src, array( 'width' => $image_width, 'height' => $image_height) ); | |
| return $custom_image_src; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment