Created
January 9, 2017 07:08
-
-
Save antiden/59d067052d2655cafa9d79d460dea975 to your computer and use it in GitHub Desktop.
WP BFI thumb
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 | |
$params = array( 'width' => 1200, 'height' => 500 ); | |
$bfi_image = bfi_thumb(get_field('thumb'), $params); | |
?> | |
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><img src="<?php echo $bfi_image; ?>" alt="<?php the_title; ?>"></a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment