跳到内容

York IE – Theme Switcher

v1.8.0

yorksupport · 2026年6月18日 上架

Assign or preview a different installed theme on individual posts, pages, and custom post types without changing the site-wide active theme.

正在使用
10+
评分
5.0 / 5
累计下载
474
最近更新
2026年7月13日
1 条评价需要 WordPress 6.0+已测试到 7.0.9PHP 7.4+

贡献者

截图

Content Theme panel in the editor sidebar.
Content Theme panel in the editor sidebar.
Theme preview banner on the front end.
Theme preview banner on the front end.
Content Theme menu in the admin bar.
Content Theme menu in the admin bar.

York IE – Theme Switcher lets editors assign a theme to a single piece of content or preview how that content looks in another installed theme. The site-wide active theme stays unchanged.

Features

  • Assign a theme per post, page, or public custom post type
  • Set a default content theme per enabled post type in settings
  • Assign a page template from the selected theme, with a dropdown that updates when the theme changes
  • Settings page to enable theme switching per post type
  • Preview any supported item with another installed theme in a new tab
  • Content Theme meta box in the editor sidebar
  • Front-end admin bar menu for quick theme previews while logged in
  • Preview banner with an exit link when previewing
  • Works with subdirectory WordPress installs

How it works

  1. Edit a post, page, or custom post type.
  2. Choose a theme from the Content Theme sidebar panel.
  3. Optionally choose a Page template from the selected theme. The template list refreshes whenever you change the theme.
  4. Click Update to save the assignment, or use Preview with selected theme to test the theme and template without saving.

Visitors see the assigned theme only on that content item. Other pages continue using the active site theme.

Permissions

  • Theme preview URLs require a valid nonce and permission to edit the item or the switch_themes capability.
  • Assigned themes are visible to all visitors on the front end for that content item.

Developer filters

  • pagethsw_supported_post_types — Limit or extend supported post types.
  • pagethsw_is_supported_post_early — Control post type support before init.

Plums

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

导航

说明

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

© 2026 Plums