[WordPress] 外掛分享: Find Blocks, Patterns & Shortcodes

首頁 › 外掛目錄 › Find Blocks, Patterns & Shortcodes
WordPress 外掛 Find Blocks, Patterns & Shortcodes 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
34 天前
最後更新
—
問題解決
WordPress 5.0+ PHP 7.0+ v1.1.4 上架:2025-12-24

內容簡介

Find Blocks, Patterns & Shortcodes 外掛可協助用戶快速搜尋包含特定 Gutenberg 區塊、樣式和短碼的內容,並具備 CSV 匯出功能,適合進行審核與分析。

【主要功能】
• 漸進式搜尋,適合大型網站批次處理
• 支援文章類型過濾,搜尋各類文章
• CSV 匯出結果,方便報告與分析
• 區塊下拉選單,選擇已註冊的區塊
• 屬性搜尋,依 CSS 類別與 HTML 錨點查找
• 可排序結果表格,便於分析

外掛標籤

開發者團隊

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

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

原文外掛簡介

Find Blocks, Patterns & Shortcodes locates content containing specific Gutenberg blocks (including options to search by CSS class and HTML anchor attributes), patterns, and shortcodes, with a CSV export feature perfect for audits & analysis.
Core Features

Progressive search with batch processing for large sites
Post type filtering – search across posts, pages, or custom post types to find blocks, patterns, and shortcodes
CSV export – export results for reporting, auditing, and analysis
Block dropdown – select from all registered blocks
Attribute search – find blocks by CSS class and HTML anchor attributes
Synced pattern search – find usage of reusable blocks/patterns
Sortable results tables for easy analysis
WP-CLI support for automation

Performance Optimized

Smart caching with 5-minute TTL
Batch processing (100 posts per batch)
Query optimization (IDs only fetch)
Progress indicators for long operations
Cancellable searches
Hard limit protection (500-1000 posts)

Security

Enhanced input validation with blacklisting
Dual-layer rate limiting (user + IP)
Timeout protection (25-second safeguard)
Information disclosure prevention
XSS and injection prevention
Nonce auto-refresh for long sessions

WP-CLI Commands
Search for blocks:
wp fbps search core/paragraph –post-type=post,page –format=table
Clear cache:
wp fbps clear-cache
View security logs:
wp fbps logs –limit=100 –format=csv
Filters and Hooks
Filters

fbps_query_limit – Adjust search limit (default: 500, max: 1000)
fbps_enable_security_logging – Toggle security logging (default: true)
fbps_allow_editor_access – Allow Editor role access (default: false)

Actions

fbps_security_event – Hook into security event logging

Privacy
This plugin:
* Does not collect any user data
* Does not make external API calls
* Stores security logs locally (last 1000 events)
* Logs include: timestamp, user ID, IP address, event type
* Security logs can be disabled via filter
Support
For support, feature requests, or bug reports, please use the WordPress.org support forums.
Credits
Developed by Matthew Cowan

延伸相關外掛

文章
Filter
Mastodon