Reply To: Featured image in post

Home Forums WordPress Themes – Premium Encounters Featured image in post Reply To: Featured image in post

#18071
Sushil Adhikari
Moderator

Tutorial to Add Featured Image to Full Post View:

Copy the parent theme’s content.php file to the child theme (or upload to the child theme where the style.css is located.

Then open the copied file and look for this batch of code:


	
		
	
	
		 'alignnone'));
				break;
				case "small" : 
					the_post_thumbnail('', array('class' => 'alignleft'));
				break;
			} 
		endif; ?>
	
	

Remove this code:

	
	
	

Then remove the last endif:

Your featured image will now show in the full post view.