Add Feature Image To Post

Wordpress

If you are trying to add featured image to post in the custom template then please add below code while uploading an image where ‘FeatureImage’ is the name of the input file name.