Remove SEO-Filter in Woo Admin Product List

#685482
  • Resolved Francois Gonin
    Rank Math free

    Hi there
    How can I remove the SEO-Filter in the Admin Product List?
    Couldn’t find anything online in your docs.
    Thanks and regards
    François

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

    We apologize for the inconvenience you’re facing. To remove the SEO filter in the Admin Product List, you can use a filter provided by Rank Math. You’ll need to add the following code to your rank-math.php file or your theme’s functions.php file:

    add_filter( 'rank_math/researches/tests', function ($tests, $type) {
        unset($tests['hasProductSchema']);
        return $tests;
    }, 10, 2);

    This code will disable the Product Schema test and remove the SEO filter from the Admin Product List.

    If you have any further questions or need additional assistance, please feel free to ask.

    Sources:
    How to Disable Custom Product Redirection in Rank Math » Rank Math
    Rank Math General Settings
    How to Disable Rank Math SEO Content Tests » Rank Math

    Hi there,
    unfortunately this is not working.
    I need a filter to remove the Score Filter for the Admin Product LIST (LIST, not page)
    Thanks for further informations
    Best regards, François

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to this issue.

    To help us understand the problem more clearly and provide a quick and smooth solution, please elaborate more on the issue you are experiencing.

    Please send screenshots showing the exact problem and, if possible, a recorded screencast video demonstrating the issue.

    You can use tools like Imgur for screenshots or Loom for screencasts

    If you are facing a problem with a misaligned product page you can follow this guide to resolve it: https://rankmath.com/kb/woocommerce-products-page-misaligned/.

    Let us know how this goes. Please let us know if you have further questions or concerns.

    Thank you.

    foecreative
    Rank Math business
    Content AI Starter

    I am having the same problem as Francois.

    How do I disable this rank math filter dropdown from the post list view in the WordPress backend. See the screenshot for when I want to get rid of.

    https://imgur.com/eqCbiXp
    Disable Filter

    Hello,

    Unfortunately, we don’t have an option to remove that filter field. However, we can make use of CSS to hide the filter field.

    Please use the code below:

    add_action('admin_head', 'rm_remove_seo_filter');
    function rm_remove_seo_filter() {
      echo '<style>
        #rank-math-seo-filter{
    	display: none !important;
        }	
      </style>';
    }

    You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

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

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Remove SEO-Filter in Woo Admin Product List’ is closed to new replies.