How to embed a template file in a plugin?
-
I am writing a plugin to add a custom post type. I would like to include a template file in the plugin file. The template file is currently located in /wp-content/themes/twentyeleven/single-$posttype.php. I’ve tried to search this site and looked through the Codex, but didn’t find what I’m looking for.
Any help is appreciated,
Ryan
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to embed a template file in a plugin?’ is closed to new replies.