Linux 软件免费装
Banner图

York IE - Theme Switcher

开发者 yorksupport
更新时间 2026年7月13日 20:36
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

preview theme switch theme switcher Theme Switcher

下载

1.5.3 1.6.0 1.7.0 1.8.0

详情介绍:

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 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 Developer filters

安装:

  1. Install the plugin through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Edit any supported post, page, or custom post type and use the Content Theme panel in the sidebar.
  4. Go to Settings → York IE - Theme Switcher to choose which post types are enabled and set default content themes.

屏幕截图:

  • Theme preview banner on the front end.
  • Content Theme menu in the admin bar.

升级注意事项:

1.8.0 Adds per-post-type default content themes in settings. Per-item theme selections still take precedence. 1.6.0 Adds a page template dropdown so you can assign a template from the selected theme per content item. 1.3.0 First WordPress.org release with uninstall support and documentation updates.

常见问题:

Does this change the active theme for the whole site?

No. It only changes the theme used for the selected content item. The active theme under Appearance → Themes is not modified.

Which content types are supported?

Public post types with an admin UI are supported by default, including posts, pages, and custom post types. Attachments, revisions, templates, and other internal post types are excluded.

Why can I preview a theme but visitors still see the default theme?

Preview mode is for logged-in users with permission to edit the item. To apply a theme for everyone, choose a theme in Content Theme, save the item, and open the public URL without preview query arguments.

Can I limit which post types show the Content Theme panel?

Yes. Open Settings → York IE - Theme Switcher and check only the post types you want. Developers can use the pagethsw_supported_post_types filter.

How do default content themes work?

On Settings → York IE - Theme Switcher, choose a default content theme for each enabled post type. Items without an individually selected theme automatically use that default on the front end. Per-item selections in the Content Theme panel always take precedence.

How does the page template dropdown work?

After you assign a theme, the Page template dropdown lists the page templates declared by that theme for the current post type. Selecting one renders the content with that template on the front end (and in preview). The list updates automatically when you change the theme.

Why are no templates listed for some themes?

The dropdown reads the page templates a theme registers through the standard WordPress template headers. Themes that do not ship custom page templates for the current post type will only show Default template.

更新日志:

1.8.0 1.7.0 1.6.0 1.5.3 1.5.2 1.5.1 1.5.0 1.4.1 1.4.0 1.3.2 1.3.1 1.3.0 1.2.3 1.2.2 1.2.1 1.2.0 1.0.0