Title: Create NEW Template Using Plugin
Last modified: August 20, 2016

---

# Create NEW Template Using Plugin

 *  [sagar_mehta](https://wordpress.org/support/users/sagar_mehta/)
 * (@sagar_mehta)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/create-new-template-using-plugin/)
 * Hey all,
 * Just stuck with this issue here.
 * I am designing a plugin that adds a new page to the blog automatically.
 * The issue is that I want to use a custom template (which will be part of the 
   plugin package). Let’s call that customtemplate.php
 * Now, I need to make sure that the new page created uses this template.
 * So far, I’ve tried using absolute and relative paths for the _wp_page_template
   meta data to refer to this file in the plugin’s own folder.
 * But that doesn’t work.
 * Then, I tried copying over the file to the current theme’s folder. Again, no 
   luck, since folder permissions come in between.
 * So, is there a workaround to create a new template using a plugin?
 * Been looking for this forever! 🙂
 * Sagar

The topic ‘Create NEW Template Using Plugin’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [sagar_mehta](https://wordpress.org/support/users/sagar_mehta/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/create-new-template-using-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
