Deliver default templates with wordpress plugin

My self written WordPress plugin includes a custom post type. I want to deploy a default template for this post type. Is it possible to do this inside the plugin’s directory? I cannot find any documentation on this.

Having the plugin running “out of the box” seems better to me than telling the user to copy the default template to their theme’s directory.

Related posts

Leave a Reply

2 comments