內容簡介
此外掛可顯示「可重複使用區塊」清單頁面,並連結至包含特定區塊的所有文章。
僅顯示含有該區塊的文章數量,而不是區塊在文章中被使用的次數(不計算同一篇文章內多次使用區塊)。
感謝
此外掛的部份程式碼來自 https://wordpress.org/plugins/fabrica-reusable-block-instances/,已簡化與最佳化效能。
外掛標籤
開發者團隊
② 後台搜尋「Reusable Block and Synced Pattern Count」→ 直接安裝(推薦)
原文外掛簡介
Adds a Synced Patterns entry to the admin Posts menu (formerly called “Reusable Blocks” before WordPress 6.3), and shows a “Posts” column on the listing page counting how many posts each pattern appears in. Click the count to jump straight to a filtered posts list.
Only counts posts that contain the pattern — not the number of times the pattern appears within a single post.
Note: WordPress renamed “Reusable blocks” to “Synced patterns” in version 6.3. This plugin adapts its menu label to match whatever your version of WordPress calls them.
Props
This plugin was loosely based on https://wordpress.org/plugins/fabrica-reusable-block-instances/ — some code was simplified and optimized for performance.
