Linux 软件免费装
Banner图

SniffPress

开发者 wpwebguru
vivekkumarsahu0
devshubham715
更新时间 2026年7月19日 11:54
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

search developer tools file search code search string search

下载

1.2 1.0 1.1

详情介绍:

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

安装:

  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

屏幕截图:

  • Example search results with highlighted matches, grouped by theme/plugin
  • Dark mode

升级注意事项:

1.2 - Major UI overhaul: redesigned interface, dark mode, grouped/collapsible results, and a live match counter. No settings are lost when updating. 1.1 - Major update with performance improvements and new features. The plugin menu has moved from Tools to a top-level menu for better accessibility. Back up your site before updating. 1.0 - Initial release of SniffPress plugin.

常见问题:

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.

How are results grouped?

Results are grouped first by theme/plugin name, then by individual file within that group. Click any group or file header to collapse or expand it.

How does the live match counter work?

As you type (2+ characters) with at least one location selected, the plugin runs a quick background count and shows it under the search field, before you click Search. It's capped at 500 for speed on large codebases; run the full search to see everything.

How do I enable dark mode?

Click the moon/sun icon at the top right of the SniffPress page. Your choice is saved in your browser and applied automatically next time you visit.

更新日志:

1.2 1.1 1.0