Custom search results archive page - message for no matching results

Hello :slight_smile:

Is there a resource for how to set a message for a custom search results archive page for when a search does not return results?

For example: “It looks like we can’t find what you’re looking for. Try searching for a variation or different term.”

We have the archive page setup and working properly, but are having trouble setting the conditions for the message.

Thank you!

Hi @TonyBear,

Thanks for reaching out.
You can add another section to the Archive layout and check the {{dc:looper:count}} if is less than 0 or not. If that is 0 show the content you want. The given screenshot describes the condition.

Hope it helps.
Thanks

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