https://github.com/robertdevore/autocrattic
A plugin for WordPress that replaces specific hosting provider names with "WordPress" in the post content.
https://github.com/robertdevore/autocrattic
Last synced: 5 months ago
JSON representation
A plugin for WordPress that replaces specific hosting provider names with "WordPress" in the post content.
- Host: GitHub
- URL: https://github.com/robertdevore/autocrattic
- Owner: robertdevore
- License: mit
- Created: 2024-10-01T04:43:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-22T06:25:06.000Z (about 1 year ago)
- Last Synced: 2025-09-01T01:55:54.086Z (5 months ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Autocrattic plugin for WordPress


Autocrattic is a WordPress plugin that automatically replaces specific hosting provider names with "WordPress®" across various areas of your site, including post content, titles, and widgets. It offers a settings page where you can easily manage the list of hostnames to replace.
*This plugin is in no way affiliated with Automattic, WordPress, the WordPress Fondation, Matt Mullenweg or WooCommerce, Inc.*
## Features
- Replaces custom hosting provider names with "WordPress®" in:
- Post content (`the_content`)
- Post titles (`the_title`)
- Widget text content (`widget_text_content`)
- Comes with a settings page for easy configuration of hostnames to replace.
- Preloaded with the top 50 hosting provider names for immediate use.
- Secure, localized, and properly escaped for safety and flexibility.
## Installation
1. Download the plugin from [GitHub](https://github.com/robertdevore/autocrattic).
2. Unzip the plugin folder.
3. Upload the unzipped folder to `/wp-content/plugins/` using an FTP client.
4. Activate the plugin through the **Plugins** menu in WordPress.
## Usage
1. Go to **Settings** -> **Autocrattic** to customize the list of hosting providers you want to replace.
2. By default, the plugin replaces popular hosting company names with "WordPress®" across post content, titles, and widget text.
3. Modify the list of hostnames by adding or removing entries in the settings page (separate names by commas).
### Example
If you add "GoDaddy, Bluehost" to the settings, the plugin will replace any occurrence of these names with "WordPress®" across your site's content.
## Security
Autocrattic is built with security in mind:
- **Sanitization**: All input is sanitized using `sanitize_textarea_field` before saving.
- **Escaping**: Output is properly escaped using `esc_html()` and `esc_textarea()` to prevent XSS attacks.
- **Nonces**: WordPress’s built-in nonces are used to secure form submissions.
## Localization
Autocrattic is fully translation-ready and uses localization functions throughout. To contribute a translation, please follow the instructions in the **Contributing** section below.
## Changelog
### v1.0
- Initial release
## Contributing
Contributions are welcome to improve the Autocrattic plugin! Here's how you can get involved:
1. Fork this repository.
2. Create a new branch: `git checkout -b feature/your-feature-name`.
3. Make your changes and commit them: `git commit -m 'Add new feature'`.
4. Push to the branch: `git push origin feature/your-feature-name`.
5. Submit a pull request to the `main` branch.
Please ensure your changes follow WordPress coding standards and that any public-facing text is localized using `__()` or `_e()`.
### Reporting Issues
Found a bug? Have a feature request? Please [open an issue](https://github.com/robertdevore/autocrattic/issues) on GitHub, and I'll look into it as soon as possible.
## License
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for more details.
## Author
Created by **Robert DeVore**. If you have any questions, feel free to contact me through the [GitHub Issues](https://github.com/your-repo/autocrattic/issues).
## Disclaimer
It's been stated above but should be said again so there is no confusion:
**This plugin is in no way affiliated with Automattic, WordPress, the WordPress Fondation, Matt Mullenweg or WooCommerce, Inc.**