Custom Gutenberg block with ACF missed from search results
-
Hi guys,
We have a lot of custom Gutenberg blocks created with ACF plugin.
When I try to search for content from this fields - this page not appear in search result. Does it mean that I should add each field from custom blocks to index as we did it for CPT?
If so - do you have code for this that will not go through each field and will be a little automatically? -
Hi @ilocimwca
Which Gutenberg block do you mean? Could you give me some details?
I didn't try with ACF Gutenberg blocks yet, is it like shortcodes? -
@epsilonadmin custom block.
Here is info how to create block - https://www.advancedcustomfields.com/blog/acf-5-8-introducing-acf-blocks-for-gutenberg/
So we register new block, assigned fields for this block.
We add block on page. When I try to search phrase from one of these field - page not added to search result
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login