Title: Assigning Page Templates Programmatically
Last modified: August 19, 2016

---

# Assigning Page Templates Programmatically

 *  [abound](https://wordpress.org/support/users/abound/)
 * (@abound)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/assigning-page-templates-programmatically/)
 * I am creating some stock pages when my plugin is initialized. It saves some work
   later on configuring each site I create. This leads to my question:
 * Is there a way to a page with a template in the theme I’m using when the plugin
   is initialized? It would save me yet another step.
 * Thank you for reading this and considering my question.

The topic ‘Assigning Page Templates Programmatically’ is closed to new replies.

## Tags

 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * 0 replies
 * 1 participant
 * Last reply from: [abound](https://wordpress.org/support/users/abound/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/assigning-page-templates-programmatically/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
