Hi, when i add a featured image to a post, itsn’t showing when you go to the post. I’ve found this on internet and checked the file, the code is already excisting in the file. Can you help me with this?
To add featured image support in a WordPress theme, you need to add this line of code in your theme’s functions.php file:
add_theme_support( 'post-thumbnails' );