SniffPress

Description

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

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
– Clean, intuitive interface
– Fast AJAX-powered searching

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

Screenshots

  • The main search interface
  • Example search results with highlighted matches

Installation

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

FAQ

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
– Vendor directories (node_modules, vendor, etc.)

Can I search WordPress core files?

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

Reviews

22 Jolay 2025 1 reply
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.
Read all 1 review

Contributors & Developers

“SniffPress” is open source software. The following people have contributed to this plugin.

Contributors

Translate “SniffPress” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

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