Rankmath toggle switch not working

#1054959
  • Resolved impu Irani
    Rank Math free

    Rankmath toggle switch not working. I am using Astra theme. Please help. The toggle switch is locked in off mode. It says “This option cannot be changed since your theme has added the support for Rank Math Breadcrumbs using:
    add_theme_support( ‘rank-math-breadcrumbs’ );”

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I apologize for the issue you are facing with the Rank Math toggle switch being locked in the off mode. This happens because your Astra theme has native support for Rank Math’s breadcrumbs feature, which means that the option to enable or disable breadcrumbs is not available in the Rank Math settings.

    When a theme includes this support, it automatically handles the breadcrumbs functionality, and users cannot change this setting from the Rank Math dashboard. However, you can still customize other breadcrumb options available in Rank Math.

    If you want to ensure that everything is set up correctly or if you need further assistance with your settings, we recommend checking out our guide on making your theme Rank Math compatible or consider using our professional setup service for comprehensive assistance. You can find more information about this service at Rank Math Services. This service requires a PRO subscription.

    Thank you for raising this concern, and if you have any more questions or need further help, feel free to reply to this ticket!

    Sources:
    How to Make Your Theme Rank Math Compatible » Rank Math
    How to Enable Breadcrumbs on Your Website With Rank Math SEO » Rank Math

    Hello,

    You’re seeing the button gray because Astra has added support for our Breadcrumbs and that’s why you can’t change the breadcrumbs option of our plugin. The breadcrumbs are already enabled and are to be handled by the theme.

    However, if you want to remove the add_theme_support( 'rank-math-breadcrumbs' ); from your setup, you may simply remove that code from the files:
    https://developers.wpastra.com/astra-theme/reference/classes/astra_after_setup_theme/setup_theme/

    Hope that helps and please don’t hesitate to let us know if you have any other questions.

    Thank you.

    Abdul Wahab
    Rank Math free

    It looks like the Astra theme has integrated RankMath breadcrumbs, which is why the toggle switch is locked. To fix this, try removing the add_theme_support( ‘rank-math-breadcrumbs’ ); code from your theme’s functions.php file. After that, the toggle switch should work. If the issue persists, consider reaching out to Astra or RankMath support for more help.

    Hello,

    Thank you @abdulwahab73:

    Reaching out to Astra support could also help.

    Don’t hesitate to let us know if you need help with anything else.

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘Rankmath toggle switch not working’ is closed to new replies.