New password

This topic contains 9 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 2 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #31948
    99projects
    99projects
    Participant

    This is concerning my previous topic: https://wp-dreams.com/forums/topic/search-results-page-8/

    But I could see that my answer to you showed the admin password publicly so I had to change it again. The password given above in the private details is the newest one.

    #31954
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you!

    I disabled the plugin to do a few test and I noticed something very weird. Looks like there is an issue with the search results page itself, as for the same search query it always prints different results:
    1. Search “hand”: https://i.imgur.com/YX9adLY.png
    2. Search “hand”: https://i.imgur.com/ihzPZ9F.png

    Unfortunately this is unrelated to the plugin, since it happens even when it is deactivated.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #31967
    99projects
    99projects
    Participant

    OK, I understand but this is not happening when you just type in the search query and do nothing (do not hit Enter, I mean) See screenshot.
    Then you get the same (good related) results everytime. So that’s working, it just won’t appear on the search results page.
    Does that give you any idea how to solve it?

    Attachments:
    You must be logged in to view attached files.
    #31983
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Well that is the problem exactly. The plugin tries to send the results to the results page to display the same ones as on the drop-down list. But there is a malfunction on the results page itself, so it has no effect on it whatsoever.
    That is why I disabled the search to make sure it is not related, but even the native results page is showing random results. It completely ignores the search query. The search results page needs to be fixed first, so it respects the search query as it should, then it will resolve this issue as well. I’m afraid I don’t know what the cause is, but it is definitely not the search plugin.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #31999
    99projects
    99projects
    Participant

    Hi Ernest, thank you very much for pointing that out. I made a new Search Results page in Elementor Theme Builder and now it seems to work as expected: both ways to search give the same good results.

    One little thing though is that in the search results every text below the post title (that is on a page, not a blogpost) starts with the words ‘Opleiders Kandidaten Werkgevers Opleiders Kandidaten Werkgevers’ because that is what is being used as navigation on almost every page and is the first content on the page.
    Is there a way to get rid of that in the results text (excerpt)?

    #32000
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Neat 🙂

    I’m afraid that needs to be handled by Elementor. The plugin has no effect on how the results are displayed. It only changes the query to set which ones to display, but the actual layout is set by the results page.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #32006
    99projects
    99projects
    Participant

    OK, I understand… but in this case it’s not so much about the layout, that’s fine by me. I’m talking about the elements on the page that are being read by the ASP search query. Because in this case this second ‘navigation’ menu is not set up as a proper navigation menu but as text links they also end up in the search result text (excerpt). See image in the attachment, please.
    I was wondering if there is a way to exclude these element, maybe by giving them a dedicated class for example?

    Attachments:
    You must be logged in to view attached files.
    #32022
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I’m afraid not possible to do anything there from the search perspective. If it is stored as part of the post content, then it is picked up as text, and the plugin searches it.
    The printing of the elements is entirely up to the results page – including titles, the text content and everything, that is parsed by the results page loop. Maybe if elementor archive widget has a filter to remove sections of the text it could be doable via that.
    All this plugin can do is pass the result object IDs to the results page and the rest is handled by the loop – in this case elementor archive widget.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #32055
    99projects
    99projects
    Participant

    Aha, I see… but is there a way to set the ASP plugin to read only excerpts, not the body text in the post content? That way I could copy all of the body text in the excerpt and get the same good results, I guess.

    #32060
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Sure, you can change what fields to search on the General Options -> Sources panel. For the live results you can also change the primary and secondary title and content fields.
    However the results page layout will not be affected by these unfortunately, that section is still parsed by the elementor widget.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.