• I really want the featured image so show ONLY on the homepage of my blog, not the individual posts. It shows above my post title in the individual post and looks very strange. here is the code of my Child Fabric theme that I think would apply. I’ve tried a few edits and all it does is eliminate the image completely, even from the main home page. again, I want the picture on the home page, NOT in the post. http://www.nap-timecreations.com

    /** Add custom field above post title */
    add_action( 'genesis_before_post_title', 'fabric_post_image', 1 );
    function fabric_post_image() {
    
    	if ( is_page() ) return;
    
    	if ( $image = genesis_get_image( 'format=url&size=featured' ) ) {
    		printf( '<a href="%s" rel="bookmark"><img class="post-photo" src="%s" alt="%s" /></a>', get_permalink(), $image, the_title_attribute( 'echo=0' ) );
    	}
    
    }
    /** Customize the post info function */
    add_filter( 'genesis_post_info', 'fabric_post_info_filter' );
    function fabric_post_info_filter($post_info) {
    	return '[post_date] by [post_author_posts_link] &middot; [post_comments] [post_edit]';
    }<blockquote>
  • The topic ‘I want to remove the image above my post title only in the posts’ is closed to new replies.