On search result page , when we search something it shows 1 thing multiple times. i want to show every item related to the search text

Hi Ketan,

Thanks for reaching out.
I have searched with the same keyword, i.e. waffle and it doesn’t show any repetitive results. Please check the screenshot.


If you are still having the same issue, Please provide any screenshot marked with the issue or any video that helps us recognize the problem.

Thanks

Hey, I’ve checked this thing again on my end. But I got the same results i.e. the repetitive results of one item. And one more thing if the reuslts are not present then it is showing the blank entries over there. So please help me with that too.
Please find the issue in this video - https://www.loom.com/share/41b09e72cad24fa8a8fc48a286ff84b4?sid=fce4284f-8cde-4dd7-9260-13563fbd4a37

Hi Ketan,

It seems that there might be some different reasons behind your issue, I would like to suggest troubleshooting the following common issue to help us to recognize the reason.

1.Theme Related Issue
2.Plugin Conflict
3.Theme Update related issue
4.Child Theme Related issue
5.CSS/JS Customization
6.Disabling Cache

If you discover that an issue is coming from a custom code or 3rd party plugin, kindly consult with a developer or contact the plugin author. Please note that we do not provide support for custom codes and 3rd party plugins.
If that does not help, please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

Hello,
I’ve tried all these things which are mentioned above but issue persists. I’m not using any custom code for this particular page’s functionality and not any other 3rd party extension. I’m just using the search element of PRO theme.
I’m adding my credentials please look into this as soon as possible I need it urgent.

Hi Ketan,

I have checked and found that you have enabled the Looper Provider to the Layout which is not required while using the Archive Layout. I have checked and disabled it, and now the Search Results are showing properly.

Thanks

when I test and no results found for that terminology than it should show no results found. how can i achieve this thing.

Hi Ketan,

You need to add a condition to check if {{dc:looper:count}} is greater than 0, then show the search result. And, if that is not greater than 0, show No Result found. You can set this condition to Row or Column, which will be visible if the condition is satisfied.

I hope it helps.
Thanks

Hello tristup,
Can you please explain this thing by using the image like exactly at which place I need to use a condition. I didn’t get this properly.

Hello Ketan,

Your current custom Search Results layout is designed to display when there are search results only. You should have two Section elements on the layout like this:

You can then add a condition for each Section that it will only display when the Looper Provider is Empty or NOT. This for example:

  • Check out the link in the secure note below

Thanks.

Hello @ruenel
Thanks a lot for this explanation. This has solved my problem. As I was confused with the section part I was using the one section only.
Many Thanks.

Hi Ketan,

Glad that we are able to help you.

Thanks

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