﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
15803,Page Templates within Plugins,sterlo,,"It would be awesome if we could create a '''Page Template''' from within a the confines of a '''Plugin'''.

Currently, we have to create Page Templates from within a '''Theme'''.
Source: http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

If we could add an action or if WordPress could look inside a plugin's directory, we could have Custom Page Templates within a plugin.

Story:[[BR]]
If '''The User''' has a Theme activated that has a persistent sidebar and when '''My Awesome Plugin''' requires a page to not have a sidebar (it needs to use the full with of a site - or whatever - let your imagination run wild), then there is currently little recourse - other than going into the theme and adding a Page Template.

This can leave a Plugin ""Theme Dependent"".

Ideas:
 * Add a hook for Page Templates
 * Extend WordPress' search for Page Template to include plugin directories",feature request,closed,normal,,Template,3.0.3,normal,duplicate,needs-patch,urbandev
