=== Search and Replace Anywhere ===
Contributors: kadecooper
Tags: search, replace, database, search and replace, find and replace
Requires at least: 5.0
Tested up to: 6.7
Stable tag: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight plugin to search for and replace text across your WordPress site, including across Elementor and all other major editors.

== Description ==

Search and Replace Anywhere is a lightweight plugin that enables you to quickly search for and replace text across your WordPress site's database. It features an intuitive interface, robust error checking, and safeguards to help you update content without directly editing your database.

**Key Features:**
* Search across posts, pages, and custom fields
* Case-sensitive and whole-word search options
* Filter results by content type (posts, pages, categories, tags)
* Preview changes before applying them
* Batch operations with progress indicators
* Safe database operations with transaction support
* Compatible with Elementor and other page builders

**Safety Features:**
* Automatic database backups recommended before operations
* Transaction-based updates for data integrity
* Comprehensive error handling and logging
* Preview mode to see changes before applying

== Installation ==

1. Upload the entire `search-and-replace-anywhere` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to 'Search & Replace' in the WordPress admin menu to access the plugin.

== Frequently Asked Questions ==

= How do I run a search and replace? =
After activating the plugin, go to 'Search & Replace' in the admin menu. Enter the text you wish to find, the replacement text, select any filters you want to apply, and click the "Search" button to preview results. Then click "Replace" to apply changes.

= Is it safe to use on a live site? =
Always back up your database before performing any search and replace operations. The plugin is designed to be safe with transaction support and error handling, but no operation is risk-free without a current backup.

= Can I filter which content gets updated? =
Yes! You can filter by content type (posts, pages, categories, tags) and select specific items to update. This gives you precise control over what gets modified.

= Does it work with page builders like Elementor? =
Yes, the plugin searches through all post content and custom fields, making it compatible with Elementor and other page builders that store content in the database.

= Can I undo changes? =
The plugin doesn't have a built-in undo feature, which is why we strongly recommend creating a database backup before making changes.

== Screenshots ==

1. **Main Interface** - The search and replace interface with filtering options
2. **Search Results** - Preview of search results with before/after snippets
3. **Filter Options** - Content type and item-specific filtering

== Changelog ==

= 1.0 =
* Initial release of Search and Replace Anywhere
* Basic search and replace functionality across posts and pages
* Case-sensitive and whole-word search options
* Content type filtering (posts, pages, categories, tags)
* Item-specific filtering with search capability
* Progress indicators for operations
* Transaction-based database updates
* Preview functionality with before/after snippets
* Compatible with Elementor and other page builders
* Comprehensive error handling and security measures

== Upgrade Notice ==

= 1.0 =
Initial release - please backup your database before using any search and replace functionality.
