Hi. I’m hoping someone knows how to solve the following issue I’m having with my search results page and the title it puts in the browser tab…
If I search for products on my search page, I find that the title in the browser tab for that page is incorrect if the search results returned total more than 10 results.
For example:
- If I search for “moon” the title in the browser tab for that page states “Search: 10 results found for “moon”” even though there are actually 15 results returned on the search page.
- Now if I do a search for “moon star” the title in the browser tab for that page states “Search: 6 results found for “moon star”” which is correct as there are 6 items returned on the search page.
This is happening with other search results too. If the amount of items is 10 or under it states the correct number in the title of the browser tab. However, if the number of search items returned is greater than 10 it always states 10 for the number in the title for the browser tab.
I’m using the Minimal theme if that makes any difference as to what code I need to edit. I just can’t seem to find where in the theme code it’s doing this and therefore what I need to edit to sort it out.