Remember My Template

Remembers the template that was selected when the theme was last used

Author:Stephen Harris (profile at wordpress.org)
WordPress version required:3.4
WordPress version tested:3.5.2
Plugin version:0.1
Added to WordPress repository:04-07-2013
Last updated:04-07-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.stephenharris.info
Total downloads:493
Active installs:10+
plugin download
Click to start download

This plug-in requires 3.4+

WordPress only stores the page template for the theme which was activated when the page was last saved. Effectively, if you switch back and forth between themes WordPress forgets which template it is suppose to use for any particular page. This is problematic if you are showcasing a plug-in and wish to allow the end user to switch between a selection of thems (via Theme Switcher, for example), and don't want the page templates being reset to 'default'.

This plug-in resolves that problem. Whenever you save a page, the plug-in stores the theme-template pair. If you switch themes and save the page, it also stores that theme-template pair too. On switching between the two themes the appropriate template is 'remembered'.

Obviously for the plug-in to work you'll need to save the appropriate template for the page for each theme you'll be switching between. Currently, this includes the current theme.

This plug-in doesn't add any settings - it just works silently in the background, doing its thing.