Changes between Initial Version and Version 1 of Ticket #13265, comment 51
- Timestamp:
- 03/02/2014 09:13:02 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13265, comment 51
initial v1 8 8 - `/wp-content/themes/soft-drinks-r-us/brands/{brand}/` 9 9 10 Thus either the theme or ideally a must-use plugin would need to be able to add the pages templates for the brand associated with the current logged-in user. In the case of a plugin it would just be providing the logic about where to find the page templates foundin the theme but even if done in the theme's functions files it would still need to be able to add files using the new `'page_templates'` filter.10 Thus either the theme or ideally a must-use plugin would need to be able to add the pages templates for the brand associated with the current logged-in user. In the case of a plugin it would just be providing the logic about where to find the page templates in the theme but even if done in the theme's functions files it would still need to be able to add files using the new `'page_templates'` filter. 11 11 12 12 One way to support this use-case yet still disallow plugins adding their own templates would be to simply disallow any new absolute paths but do allow any new relative paths.