Forum Replies Created

Viewing 1 replies (of 1 total)
  • To disable future image to show in your header :

    <?php
    					// The header image
    					// Check if this is a post or page, if it has a thumbnail, and if it's a big one
    					if ( //promijenjeno da ne pokazuje futuered image u header is_singular() &&
    							//has_post_thumbnail( $post->ID ) &&
    						//	( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( HEADER_IMAGE_WIDTH, HEADER_IMAGE_WIDTH ) ) ) &&
    							$image[1] >= HEADER_IMAGE_WIDTH ) :
    						// Houston, we have a new header image!
    						//echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
    					else : ?>

    comment line 88 if( // comment…
    line 89,90 92 ,93
    Hope it will help to somebody … header.php

Viewing 1 replies (of 1 total)