First you need to add this code to your theme’s functions.php file or a site-specific plugin. This code first checks to see if WordPress is requesting a single post. If it is, then it tells WordPress to look for the template in /single/ folder of your WordPress theme.
For More Information Please Refer:
You May Also Like to Read: