跳到内容

Remember My Template

v0.1

Stephen Harris · 2013年7月4日 上架

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

正在使用
10+
评分
暂无
累计下载
1,924
最近更新
2013年7月5日
需要 WordPress 3.4+已测试到 3.5.2

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums