[WordPress] 外掛分享: Customizer Everywhere

首頁外掛目錄 › Customizer Everywhere
WordPress 外掛 Customizer Everywhere 的封面圖片
10+
安裝啟用
尚無評分
4039 天前
最後更新
問題解決
WordPress 3.6+ v0.1.2 上架:2013-09-28

內容簡介

在編輯文章時,“預覽”按鈕將被替換為“預覽和自定義”按鈕,
該按鈕會打開自定義功能,並將當前的文章預覽載入到自定義預覽窗口中。

為每個正在編輯的文章預覽打開一個獨立的窗口,而不是將所有預覽都放入名為wp-preview的同一個窗口。

當打開自定義預覽以預覽文章時,在自定義控制項中單擊“返回”(關閉或取消)按鈕,打開的窗口將關閉,並且焦點將回到原來的窗口,這將加快您返回打開預覽的頁面,假設該頁面仍然打開。

在瀏覽器標籤中看到“自定義 Twenty Twelve - WordPress”是沒有幫助的。這個標題假定自定義功能的主要目的是預覽主題,而現實情況是它的主要目的是自定義已選擇的主題。在後者的情況下,使標題反映當前正在預覽的頁面是有意義的。因此,當您在自定義功能中時,父文檔標題將反映當前正在預覽的頁面的標題。當您在預覽內嵌框架中瀏覽網站時,頁面的標題將更新。這使您只需查看瀏覽器標籤上的標籤便可以看到正在自定義的頁面。

在管理工具欄中,“自定義”鏈接會從子菜單提升為編輯文章鏈接之後的一個頂級位置。

在管理工具欄中突出顯示“自定義”鏈接,以及在預覽文章/頁面時打開自定義功能,旨在鼓勵在比網站前頁更多的地方使用自定義功能。插件Widget Customizer會根據自定義預覽中當前是否渲染了側邊欄來有條件地在自定義器中顯示控制區段。因此,對於某些自定義控制項需要訪問的元素,用戶必須在自定義器內部或外部導航到具有該元素的頁面。

本插件的開發在GitHub上完成。歡迎提交拉取請求。請先看一下報告在那裡的問題issues,然後再去插件論壇。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Customizer Everywhere」→ 直接安裝(推薦)

原文外掛簡介

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.
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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon