开发者 |
xwp
westonruter |
---|---|
更新时间 | 2015年2月25日 09:44 |
PHP版本: | 3.6 及以上 |
WordPress版本: | 3.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
wp-preview
.
When a customizer preview is opened for previewing a post, clicking the Back (Close or Cancel) button in the
customizer controls, the opened window will close and the opener window will be focused on. This will rapidly take
you back to the page from which you opened the preview, assuming it is still open.
It is not helpful to see in browser tabs "Customize Twenty Twelve — WordPress". This title assumes the primary
purpose of the customizer is to preview themes, when in reality it seems the primary purpose is to customize your
already-selected theme. In this latter case, it makes much more sense for the title to reflect the page currently
being previewed. So when in the customizer, the parent document title will reflect the title of the page currently
being previewed. As you navigate around the site within the preview iframe, the page's title will update. This allows
you to see which page is being customized just by looking at the label on your browser's tab.
In the Admin Bar, the “Customize” link is promoted from a submenu to a top-level position right after the Edit post
link.
This prominent placement of the “Customize” link in the admin bar, along with the customizer being opened when
previewing a post/page, are designed to encourage the use of the customizer in many more places than just the site's
front page. The Widget Customizer plugin conditionally shows
control sections in the customizer based on whether or not that sidebar is currently rendered in the customizer
preview. Therefore, for some customizer controls to be accessed, the user must navigate—either within the customizer
or outside—to a page that has the element which a control customizes.
Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.