Hi @meushar
I assume you are adding the block to a specific location (post, page or widget) on your site.
When you search for something, does the browser url change to something using the s query string, and the search term?
For example https://yourdomain.com/?s=searchterm
Hi Jonathan
Yes it does. In my case “https://staging.jewishqld.com/?s=new”.
I know there are 2 pages with “new” on the title, but only 1 is returned.
If I type in the full page title, then it returns the correct one.
The url was mistyped. Should be https://staging.jewishqld.com/?s=new
Hi Jonathan
Yes it does. In my case “https://staging.jewishqld.com/?s=new
I know there are 2 pages with “new” on the title, but only 1 is returned.
If I type in the full page title, then it returns the correct one.`
Thanks @meushar
Have you applied a custom template for the search results? It might be that the template is not looping through all the results.
Hi Jonathan
Thanks
Im using the search.html that comes with twenty-twenty-two.
Ill try another search.html.
Hmmm, that’s strange. I’m using the twenty-twenty-two default theme and my search seems to be working as expected.
Do you have any customizations to your site, either through a child theme or plugins? If you do, can you disable these, and see if the problem persists.
Hi Jonathan
I reloaded the twenty twenty two theme, and now search works on both the parent and the child.
Thanks for your help
Hi @meushar thanks for the update.