Hi, we use the search function to seach charity-calender lottery numbers, which are written in the article content.
Numbers are a 4-digit number.
If you search for a number, like 3641, users find an article even this number is not included!
Reason, in my opinion, is the “wp-image-3641” css-class code.
Maybe this will happen also with other 4-digit numbers.
Is there a solution that the seach only search the content of an article?
Kind regards,
Andreas
Hey kufgem360,
I tried to search for 3641 and some numbers and it only returns 1 result, is this already resolved?
Best regards,
Nikko
Hi Nikko,
yes you get a result for 3641, but that´ts the problem :) Because in the result, there is no number 3641 …
I want to check what´s the reason about this. Maybe it is the “wp-image-3641” css-class which I found in the code.
Best regards, kufgem360
Hi!]
I think it returns a result because the same numbers exist in the page. Please install the following plugin to improve the search index.
// https://wordpress.org/plugins/relevanssi/
Cheers!
Ismael
Hello,
your recommendation to use an improved search fixed the problem.
It would be great if this could be included as a part of the Theme.
Thanks Ismael!