• Resolved Rafael Fischmann

    (@rfischmann)


    Hi!

    I’ve enable Relevanssi’s search inside of WordPress’ Admin, as it’s so good, but just noticed that search is broken for reusable blocks (/wp-admin/edit.php?post_type=wp_block&all_posts=1).

    Any help to fix this, please?

    Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Hi, that’s a good catch. I need to stop Relevanssi from interacting with that search. It seems I already had the rc_blocks post type in the block list; I need to add wp_block to it as well.

    I’ll fix this in the next version, meanwhile you can use this filter function to fix this:

    add_filter( 'relevanssi_admin_search_blocked_post_types', function( $post_types ) {
      $post_types[] = 'wp_block';
      return $post_types;
    } );

    Where is that page, anyway? How to access it from the WP admin?

    Thread Starter Rafael Fischmann

    (@rfischmann)

    That did it, @msaari! You are so quick and helpful, thank you so much. ??

    You can access that page from inside the WordPress editor in any post. Click on the 3-dot menu on the top-right, then go to “Manage standards” (I’m not sure if that’s the exact wording, as I use WP in Portuguese).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search in reusable blocks’ is closed to new replies.