
外掛標籤
開發者團隊
原文外掛簡介
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
Edit a post, page, or custom post type.
Choose a theme from the Content Theme sidebar panel.
Optionally choose a Page template from the selected theme. The template list refreshes whenever you change the theme.
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.
