Autocrattic
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
)
- Post 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
- Download the plugin from GitHub.
- Unzip the plugin folder.
- Upload the unzipped folder to
/wp-content/plugins/
using an FTP client. - Activate the plugin through the Plugins menu in WordPress.
Usage
- Go to Settings -> Autocrattic to customize the list of hosting providers you want to replace.
- By default, the plugin replaces popular hosting company names with "WordPress®" across post content, titles, and widget text.
- 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()
andesc_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:
- Fork this repository.
- Create a new branch:
git checkout -b feature/your-feature-name
. - Make your changes and commit them:
git commit -m 'Add new feature'
. - Push to the branch:
git push origin feature/your-feature-name
. - 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 on GitHub, and I'll look into it as soon as possible.
License
This project is licensed under the MIT License - see the https://github.com/robertdevore/autocrattic/LICENSE file for more details.
Author
Created by Robert DeVore. If you have any questions, feel free to contact me through the GitHub 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.
No releases yet.
No issues yet.
Hash Verification
ZIP files downloaded via this site have an associated SHA256 hash.
Mac
On Mac, you can use the sha256 command to calculate the hash of a downloaded ZIP file. Open terminal and execute:
sha256 [filename]
Where [filename] is the name of the ZIP file. If the hash matches the one on the website, the ZIP file is genuine.
Linux
On Linux, you can use the sha256sum command to calculate the hash of a downloaded ZIP file. From a shell, execute:
sha256sum [filename]
Where [filename] is the name of the ZIP file. If the hash matches the one on the website, the ZIP file is genuine.
Github Repository
This project is located on Github in the repository robertdevore/autocrattic.
Star Support Project