View Single Post
  #1  
Old 10-14-2012, 09:21 AM
bandj bandj is offline
Registered User
Pro Plus Member
 
Join Date: Apr 2009
Location: Northern Wisconsin, area called the Northwoods
Posts: 712
Default remove post image everywhere except on blog

I added this to the functions.php at http://studio55design.com

/** Customize the post image function */
add_filter( 'genesis_post_content', 'post_image_filter' );
function post_image_filter() {
if (! is_category( '14' )) {
remove_action( 'genesis_post_content', 'genesis_do_post_image' );
}
}

It works pretty much, it lets the blog page (which only has 1 category #14), but it also leaves one double image here http://studio55design.com/portfolio/ and here http://studio55design.com/portfolio2/ but only on the first image. Any ideas why it doesn't work on the 1st image?
__________________
Bill
http://studio55design.com
http://absotivelydogs.com