Created
April 11, 2014 02:25
-
-
Save j-gardner/10437717 to your computer and use it in GitHub Desktop.
Add a requirement that only items which have a featured image should be returned
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 | |
// In your theme's functions.php file | |
add_filter( 'arconix_flexslider_loop_args', 'thumbnail_meta' ); | |
function thumbnail_meta( $args ) { | |
$args['meta_key'] = "_thumbnail_id"; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment