Change from header image to featured image in Raindrops

Change from header image to featured image

Please open header-html5.php and find below code.

echo raindrops_header_image( ‘elements’ );
[/php] Change below.
[php]
//echo raindrops_header_image( ‘elements’ );
echo ‘<div style="text-align:center;">’;
if( is_front_page() ){ //image for front page
}
if( is_singular() ){ if( have_posts() ){
while( have_posts() ){
the_post();
the_post_thumbnail( ‘full’,’style=max-width:100%;height:auto;’);
}
}
rewind_posts();
}
[/php] next. Raindrops shows featured image entry title before in single.php
[php]
raindrops_featured_image();
[/ph> p

Comment out above function if you need.


コメントは受け付けていません。