WP Manifestindependent plugin directory
manifest / developer / wp-source-finder

WP Source Finder

A plugin to find source texts from wordpress website files and database

by ZFGX · github.com/itsikram/wp-source-finder · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/itsikram/wp-source-finder/archive/refs/heads/main.zip

Find the source of any text, HTML, CSS class, or ID within your WordPress installation.

Description

WP Source Finder helps developers and site administrators quickly locate the source of any content within their WordPress installation. Whether you are trying to find where a specific CSS class is defined, which template file contains certain HTML, or where specific content is stored in the database, this plugin makes it easy.

Features:

  • File Search: Search through theme files, plugin files, and WordPress core files
  • Database Search: Search posts, postmeta, options, terms, termmeta, and usermeta tables
  • Advanced Search Options: Case-sensitive search, regex support, exact match
  • Real-time Progress: See search progress with percentage and current file being scanned
  • Search History: All searches are automatically saved for future reference
  • Export Results: Export search results as JSON
  • Secure: Nonce verification, capability checks, and proper sanitization throughout

Use Cases:

  • Find which theme or plugin file contains a specific CSS class
  • Locate the source of HTML elements on your site
  • Search the database for specific content or options
  • Debug and troubleshoot WordPress sites efficiently

Installation

  1. Upload the plugin files to /wp-content/plugins/wp-source-finder/, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to 'Tools' > 'WP Source Finder' to start searching.

Frequently Asked Questions

What can I search for?

You can search for text, HTML snippets, CSS classes, IDs, or any content within your WordPress files and database.

Does it search WordPress core files?

Yes! You can optionally search wp-admin and wp-includes directories by checking the "Search WordPress core files" option.

Is it safe to use on production sites?

Yes, the plugin is read-only and does not modify any files or database entries. It only searches and displays results.

Does it support regex search?

Yes, enable the "Regex search" option in the advanced options to use regular expressions.

How long are search results saved?

Search results are saved for 30 days by default. You can clear your search history anytime from the admin page.

Screenshots

  1. Main search interface with advanced options
  2. Search results showing file matches
  3. Database search results
  4. Search history modal

Changelog

1.0.0

  • Initial release
  • File search (themes, plugins, core files)
  • Database search (posts, meta, options, terms, usermeta)
  • Real-time progress tracking
  • Search history with automatic saving
  • Export results as JSON

Upgrade Notice

1.0.0

Initial release