Created
August 26, 2013 16:27
-
-
Save anonymous/6343468 to your computer and use it in GitHub Desktop.
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
add_action('genesis_post_content', 'be_no_thumbnail'); | |
function be_no_thumbnail( $size ) { | |
if ( is_category() ) | |
return '<img width="'.get_option($size.'_size_w').'" height="'.get_option($size.'_size_h').'" src="'.get_bloginfo('stylesheet_directory').'/images/no-image.png" />'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment