[SmartCrawl Pro] Post types settings box

It would be nice if there were a setting to disable the SmartCrawl settings box on certain post types.
I really do not need it for my Woocommerce orders, etc.

  • Dimitris

    Hello there Nathan,

    hope you're doing good today! :slight_smile:

    I've already forwarded this to SmartCrawl developers and designers for further consideration. It makes perfect sense in my personal opinion, we'll have to wait and see if and when this will be implemented though.

    Meanwhile, there's a little custom code that could help you with that. Please create a new MU plugin file like: wp-content/mu-plugins/remove-seo-metabox.php
    (just create the /mu-plugins/ folder, if it doesn't exist already)
    and insert the exact snippet in there:

    add_action( 'admin_menu', function(){
      global $pagenow;
      if ( 'post.php' != $pagenow || ! isset( $_GET['post'] ) || empty( $_GET['post'] ) ) {
      $post_id = (int) $_GET['post'];
      if ( 'shop_order' != get_post_type( $post_id ) ) {
      remove_action( 'admin_menu', array( Smartcrawl_Metabox::get(), 'smartcrawl_create_meta_box' ) );
    }, 0 );

    Warm regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.