[wordpress插件] Customizer Everywhere定制器无处不在

wordpress 插件 文章 2020-04-10 20:50 433 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The “Preview” button when editing a post is replaced with a “Preview & Customize” button,

编辑帖子时,将“预览”按钮替换为“预览和自定义”按钮,

which opens the customizer with the current post’s preview loaded into the customizer preview window.

会打开定制器,并将当前帖子的预览加载到定制器预览窗口中。

A separate window is opened for each edited post being previewed, as opposed to all previews going into the same window named wp-preview.

为每个要预览的已编辑帖子打开一个单独的窗口,与所有进入同一个名为 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”.

在浏览器选项卡“自定义二十二十二-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.

在预览iframe中浏览网站时,页面标题将会更新。

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.

此插件的开发在GitHub上 完成。

Pull requests welcome.

拉请求欢迎。

Please see issues reported there before going to the plugin forum.

在进入插件论坛之前,请参阅此处报告的问题

>

>

下载地址
https://downloads.wordpress.org/plugin/customizer-everywhere.zip
-EOF-

AI助手支持GPT4.0