Search Query Looper consumer displaying blog posts?

Hello
I’ve generated a layout (Archive) to customize my search results. I’m setting my row, as a looper provider (Query string, {{dc:query:search_query}} as the string), which will include three columns displaying 9 items in total.

When i search the output is 9 items, but they’re blog posts. It seems the provider is failing or is being ignored?

Thanks beforehand!

Hi @Fjerrr,

When the Looper Provider is set to Query String it expects a URL encoded query string of arguments that get passed directly into WP Query. This is more of an advanced technique, and doesn’t actually involve Dynamic Content at all. I can see how that might be a bit confusing as you can enter Dynamic Content into the field, however, that is used in case you want to set parts of the query string (like post type) dynamically.

What you should be able to do here is simply turn off the Looper Provider. If you’re working in the Archive mode of the Layout builder, it will use the current WordPress loop which is already the search query results.

1 Like

Hello @alexander
Thank you very much for your reply. I understand ,and have solved the issue as you tell me: Disabling the loop provider and setting the column containing my dynamic content as the consumer

Glad to hear that was helpful, Fjer!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.