Introducing New Filter to Enable/Disable Rank-Math Theme Support
|
/ Documentation /Custom Code Snippets/ Introducing New Filter to Enable/Disable Rank-Math Theme Support

Introducing New Filter to Enable/Disable Rank-Math Theme Support

We have received multiple requests about the breadcrumb option in the Rank Math SEO plugin. It is observed that while using Astra 3.6.4 and above, many of the useful features of the plugin do not work. In this article, we will explain how you can fix that issue.

Why this is happening?

Basically, we have added theme support for Rank math breadcrumb in Astra which is why the plugin makes the breadcrumb setting disable in the latest version of the Astra theme.

How to fix this?

To fix this issue, you will need to add the following filter to the functions.php of your website. If you are not sure how to add custom PHP codes to your website, here is an article that will guide you.

add_filter( 'astra_rank_math_theme_support', '__return_false' );

Please note that we highly recommend you take a backup of your site before making any changes to your functions.php. Here is an article that will help you take a quick backup of your website.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

This field is required.

REWIND

YEAR IN REVIEW

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form