[WordPress] 外掛分享: Presetscope

首頁 › 外掛目錄 › Presetscope
WordPress 外掛 Presetscope 的封面圖片
全新外掛
安裝啟用
—
尚無評分
15 天前
最後更新
—
問題解決
WordPress 6.3+ PHP 7.4+ v1.0.0 上架:2026-09-30

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Presetscope」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WordPress builds the final theme.json data by merging three layers: core defaults, the active theme (and its parent), and the changes saved in the Site Editor. When a colour, font size or spacing value is not what you expect, it can be hard to see which layer it came from.
Presetscope is a theme.json inspector. It adds a screen under Tools → Presetscope that shows this merged data:

Overview – the active theme, its parent, whether it is a block theme, the theme.json version of the theme and how many presets it defines.
Presets – every colour, gradient, font size, font family, spacing size and shadow preset, with its CSS custom property (for example --wp--preset--color--contrast), its value, a colour sample and where it comes from (default, theme or custom).
Settings and Styles – the merged data as formatted JSON.
Generated CSS – the global stylesheet WordPress prints on the front end.

You can switch between the data with and without the Site Editor changes, to see what the theme itself provides.
It works with block themes and classic themes.
Read-only
The screen only reads data through WordPress’ public functions (wp_get_global_settings(), wp_get_global_styles() and wp_get_global_stylesheet()). It does not change the theme, the Site Editor data or any option, and it stores nothing in the database. Only users who can edit theme options (administrators by default) can see it.
Nothing is sent to any external service.
Presetscope is an independent project and is not affiliated with or endorsed by the WordPress project.

延伸相關外掛

文章
Filter
Mastodon