Title: SniffPress
Author: wpwebguru
Published: <strong>2025 年 7 月 18 日</strong>
Last modified: 2025 年 12 月 23 日

---

搜尋外掛

![](https://ps.w.org/sniffpress/assets/banner-772x250.png?rev=3330772)

![](https://ps.w.org/sniffpress/assets/icon-256x256.jpg?rev=3330209)

# SniffPress

 由 [wpwebguru](https://profiles.wordpress.org/wpwebguru/) 開發

[下載](https://downloads.wordpress.org/plugin/sniffpress.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/sniffpress/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/sniffpress/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/sniffpress/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/sniffpress/#developers)

 [技術支援](https://wordpress.org/support/plugin/sniffpress/)

## 外掛說明

SniffPress is an essential developer tool that lets you search through all your 
theme and plugin files directly from the WordPress admin dashboard.

### Resources

GitHub: https://github.com/viveksoftchure/sniffpress

**New in version 1.1:**
 – Top-level admin menu for easier access – Search limits
to prevent server overload – Exclusion patterns to skip specific folders/files –
Improved theme editor links for both active and inactive themes – Enhanced user 
interface with search statistics

**Key Features:**
 – Search across multiple themes/plugins at once – Case-sensitive
and whole word matching options – Regular expression support – Filter by file type(
PHP, JS, CSS, etc.) – Direct links to edit found files (works with any theme/plugin)–
Search limits: control maximum file size and results count – Exclusion patterns:
skip vendor folders, cache directories, etc. – Direct links to edit found files –
Clean, intuitive interface – Fast AJAX-powered searching – Search completion statistics

**Perfect for:**
 – Debugging theme/plugin issues – Finding specific functions/hooks–
Locating text strings for translation – Code audits and maintenance

## 螢幕擷圖

[⌊The main search interface with new options⌉⌊The main search interface with new
options⌉[

The main search interface with new options

[⌊Example search results with highlighted matches⌉⌊Example search results with highlighted
matches⌉[

Example search results with highlighted matches

## 安裝方式

 1. Upload the `sniffpress` folder to your `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Navigate to **SniffPress** (top-level menu) to start searching

## 常見問題集

### What file types are searched by default?

The plugin searches:
 – PHP (.php) – JavaScript (.js) – CSS (.css) – Text (.txt)–
Markdown (.md) – JSON (.json) – XML (.xml) – HTML (.html)

### Why are some files missing from results?

The plugin automatically skips:
 – Binary files (images, fonts, etc.) – Files over
2MB in size (configurable) – Vendor directories (node_modules, vendor, .git, etc.)–
Files matching your exclusion patterns

### Can I search WordPress core files?

Currently the plugin only searches theme and plugin files. Core file search may 
be added in future versions.

### How do I use exclusion patterns?

Enter comma-separated patterns in the “Exclude patterns” field. Examples:
 – `node_modules,
vendor` – skip these common directories – `*.log, cache/` – skip log files and cache
directory – `assets/css, includes/` – skip specific folders

### What are the recommended search limits?

For large sites, we recommend:
 – Max file size: 2-5MB – Max results: 100-200 This
prevents timeouts and memory issues.

## 使用者評論

![](https://secure.gravatar.com/avatar/8c0ced2ad5a0c50ec3a0903b1d1946b4309a9b5e4ed01ff7f8d40bc710f49e3e?
s=60&d=retro&r=g)

### 󠀁[It works well – too well !!!](https://wordpress.org/support/topic/it-works-well-too-well/)󠁿

 [nick6352683](https://profiles.wordpress.org/nick6352683/) 2025 年 7 月 22 日 1
則留言

For years I was using Notepad++ to search strings in files, but I could not filter
what type of files to search from file types – for example, php, html, css, etc…
Also, I had to spend a few seconds to select the location of the folders to search
from my hard drive, at least for local development. This plugin allows me to not
only filter which files to search, but also for live sites, I can search on the 
spot without having to download the themes/plugins if I don’t have copies of them
on my pc. And at an added bonus, it works really fast. Not necessarily a must use
tool, but a great help and time saver for developers and alike.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/sniffpress/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈SniffPress〉的開發相關工作。

參與者

 *   [ wpwebguru ](https://profiles.wordpress.org/wpwebguru/)
 *   [ vivekkumarsahu0 ](https://profiles.wordpress.org/vivekkumarsahu0/)
 *   [ shubham715 ](https://profiles.wordpress.org/devshubham715/)

[將〈SniffPress〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/sniffpress)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/sniffpress/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/sniffpress/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/sniffpress/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/sniffpress/)。

## 變更記錄

#### 1.1

 * Added top-level admin menu for easier access
 * Added search limits: control max file size and results count
 * Added exclusion patterns to skip specific folders/files
 * Improved theme editor links for both active and inactive themes
 * Enhanced user interface with search statistics
 * Added welcome message with usage tips
 * Fixed exclusion pattern matching for directories
 * Improved plugin main file detection
 * Better error handling and user feedback
 * Performance optimizations for large codebases

#### 1.0

 * Initial release with core search functionality
 * Support for both themes and plugins
 * Case-sensitive and whole word matching
 * File type filtering options

## 中繼資料

 *  版本 **1.1**
 *  最後更新 **6 個月前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 5.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/sniffpress/)
 * 標籤:
 * [code search](https://tw.wordpress.org/plugins/tags/code-search/)[developer-tools](https://tw.wordpress.org/plugins/tags/developer-tools/)
   [file search](https://tw.wordpress.org/plugins/tags/file-search/)[search](https://tw.wordpress.org/plugins/tags/search/)
 *  [進階檢視](https://tw.wordpress.org/plugins/sniffpress/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/sniffpress/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/sniffpress/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/sniffpress/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/sniffpress/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/sniffpress/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sniffpress/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/sniffpress/reviews/)

## 參與者

 *   [ wpwebguru ](https://profiles.wordpress.org/wpwebguru/)
 *   [ vivekkumarsahu0 ](https://profiles.wordpress.org/vivekkumarsahu0/)
 *   [ shubham715 ](https://profiles.wordpress.org/devshubham715/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/sniffpress/)