single-post.html
header

How do I prevent search from listing keywords found in block attributes?

Question: How do I prevent search from listing keywords found in block attributes?

Answer: You’ll probably need a plugin to filter the search results.

To demonstrate the search finding meta content, such as a block’s attributes, try searching for category. The search results will include posts and pages which include blocks that use the categoryId attribute.

An alternative example is to search for higgledypiggledy.

It’s unlikely that this post will be found. But you might find another: Did you expect to find this?

© Copyright Herb Miller, Bobbing Wide 2021