• Resolved blue

    (@life2)


    Hi,

    I want to remove some rankmath elements from the sidebar under the general tab in gutenberg. This includes basically the focus keyword field and everything below it.

    Can you advise on how to do this?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @life2,

    Thank you for contacting us and bringing your concern to our attention.

    Could you please confirm if you want to remove the entire focus keyword and the SEO test checklist fields from the Rank Math SEO meta box? If so, you can use the following filter code on your website:
    function hide_seo_meta_box(){ echo '<style> .rank-math-focus-keyword{ display: none !important; } .rank-math-checklist{ display: none !important; } </style>'; } add_action('admin_head', 'hide_seo_meta_box');

    Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

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

    Thread Starter blue

    (@life2)

    Hi, thank you. I don’t want to remove the meta or schema data, Does this code remove them also?

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @life2,

    The code will only remove the focus keyword and content analysis test sections from the meta box. You will still be able to access all other sections and tabs.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove rankmath elements from sidebar in gutenberg’ is closed to new replies.