Disable Single Template for Custom Post

Written by the Divi Engine Documentation Team

Introduction

If you want to disable ONLY the single page for your custom post you will need to add some custom PHP code. Add the following to your functions.php of your child theme OR if not using a child theme, use a plugin like Code Snippets. Change the name "cpt_slug" to be the slug of your custom post

More Support?

Please email us at [email protected] if you are unable to get Divi Machine working.


Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.