Adding page templates from a plugin
-
I’ve created a plugin that adds a custom post type of ‘portfolio’ and I currently have to manually add archive-portfolio.php, taxonomy-portfolio.php and single-portfolio.php template files to the theme folder.
I would like to include everything in the plugin without having to manually create/add these files to the theme folder?
Can anyone help or advise on a decent tutorial that explains what I need
thanks in advance ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding page templates from a plugin’ is closed to new replies.