plugin-icon

Remember My Template

作者:Stephen Harris·
Remembers the template that was selected when the theme was last used
版本
0.1
活跃安装
10
最后更新
Jul 4, 2013

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.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 3.5.2
这个插件是可用的下载,适用于您的站点。