I want to hide Instant indexing from a All Posts page

#824135
  • Resolved Marsmedia
    Rank Math free

    I want to hide the option for Instant indexing (Instant Indexing: Submit Page) from a All Posts page because it takes too much space and it’s not useful since the indexing is set to automatic. Is there an option to do that other than to remove Instant indexing functionality?

    Thank you

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

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

    The Instant Indexing: Submit page button appears when you enable the Auto-Submit Post Types for your pages/posts. You can disable that option from WordPress Dashboard > Rank Math > Instant Indexing > Settings:

    However, if you want to keep this option enabled on your site but only want to remove the button from your post list view, then you can apply the following filter on your website:

    function hide_indexnow_submit(){
    	echo '<style>
    	.indexnow_submit{
    	   display: none !important;
            }
    	</style>';
    }
    add_action('admin_head', 'hide_indexnow_submit'); 
    

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

    Hope that helps.

    Thank you, that’s exactly what I was looking for. I wanted to keep this option enabled and not show it.
    I have created rank-math.php and it doesn’t show now.

    Thank you!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘I want to hide Instant indexing from a All Posts page’ is closed to new replies.