Basically I’ve made a plugin to create a new post type (event).
Now I want to create a single-event.php
layout file.
I don’t want to have to stick it in the theme folder, I want to put it into my plugin folder. How do I make wordpress know its there?
Thanks
Here is the code that will let you return your single-event.php if the post type is event: