Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #720989

    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

    • This topic was modified 8 years, 3 months ago by kufgem360.
    #722008

    Hey kufgem360,

    I tried to search for 3641 and some numbers and it only returns 1 result, is this already resolved?

    Best regards,
    Nikko

    #722347

    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

    #722991

    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

    #723116

    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!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Number search shows wrong content’ is closed to new replies.