How to Remove RankMath’s Branding from WordPress Pages

If you need to test drive WordPress, Try it now!

Sharing is caring!

RankMath and other WordPress plugins tend to inject some HTML into the content of the page. This code is not normally seen by the end users but when somebody views the page’s source code they will see it. It’s extra 200-300 characters.

Of course if you’ve worked hard on a plugin you’d want the sites that are using it to show it. We have this approach at our parent company Orbisius too.

If you want for some reason to not include the branding in the HTML code you can add this code to the functions.php of your (child) theme or a custom plugin of yours.

add_filter('rank_math/frontend/remove_credit_notice', '__return_true', 20);

Sharing is caring!

If you need to test drive WordPress, Try it now!
This code shared in this post/site is provided "AS IS" without any warranties or guarantees of any kind. The authors and distributors of this code cannot be held responsible for any damage, data loss, or other issues that may arise from its use. It is strongly recommended that you test this code in a staging environment before deploying it to a live site. Always ensure you have proper backups and understand the implications of running this code on your WordPress installation. Use at your own risk.

Leave a Comment

Your email address will not be published. Required fields are marked *