Created
May 20, 2016 21:28
-
-
Save halgatewood/72e46868b289e68b740c5e18d6935981 to your computer and use it in GitHub Desktop.
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
| $video_obj = get_field('vimeo_field'); | |
| if( !has_post_thumbnail() AND $video_obj ) | |
| { | |
| Generate_Featured_Image( $video_obj->thumbnail_large, get_the_ID() ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment