Customizing Current Theme Templates
- Create a child theme. See steps on how here
- Copy your active theme’s single.php file into the child theme folder. In some cases you need to create a sub-directory called “kb-templates” for the theme files.
- Rename the single.php to: single-epkb_post_type_1.php
- In the single-epkb_post_type_1.php file make any changes required e.g. you can remove the sidebar code and apply any CSS that will fix any layout issues.
From here you will need to edit this file according to your theme.
Always remember to back up your website before making any changes or better yet, make the changes on a staging site where you can test your changes without affecting your production site.