Skip to content

sidrahassanpk/wordpress-custom-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This WordPress plugin allows you to search for specific text within the files of the currently active theme. It provides a convenient way to find occurrences of particular phrases or code snippets within your theme files.

Installation:

  • Download the file from the releases page.
  • Log in to your WordPress admin dashboard.
  • Go to Plugins > Add New.
  • Click on the "Upload Plugin" button and select the downloaded ZIP file.
  • Activate the plugin.

Usage:

  • After activating the plugin, you will find a new menu item labeled "Search Theme Code" in the WordPress admin sidebar.
  • Click on "Search Theme Code" to access the search page.
  • Enter the text you want to search for in the theme files into the provided input field.
  • Click the "Search" button to initiate the search.
  • The plugin will display a list of files containing the search text, along with links to open each file in the theme editor.
  • Click on a file link to open it in the WordPress theme editor, where you can view and edit the file contents.

Contributing

  • Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on GitHub.

License

  • This project is licensed under the MIT License - see the LICENSE file for details.