This topic has 7 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #129258
     efullman
    Participant

    Hi,

    I’m having unexpected results with Search within Kleo. Specifically, I set up a search with a VC element to look at a post type called downloads (e.g. Easy Digital Downloads). The Ajax search works great, when you type in something. It retrieves downloads but the “VIEW ALL RESULTS” delivers results that are anything, but downloads. It pulls back images, and pages that have the keyword on them.

    Is this the expected result?  I have looked at examples on your sites, and URLs of the search have a different structure. The VIEW ALL RESULTS on my site are setup with <url>?s=<search parameter>.

    What I would like to see when I click on VIEW ALL RESULTS is the results returned from the Ajax search and anything else that is a post, or however I setup the search.

    I’m running Kleo 4.0.8 with a Kleo-Child theme.

    #129291
     Radu
    Moderator

    Hi,
    When i use [kleo_search_form] shortcode and i press view all results i’m directed to a url like that : http://localhost/kleo/?s=video like in the demo… when you press view all results how the url looks ?

    Try to de-activate all plugins except visual composer and k-elements and try again…. also you can try to disable kleo child theme to test.

    Let me know

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #129306
     efullman
    Participant

    I get the same URL. However, that doesn’t pull back the same results as the what’s in the Ajax window.

    That is the problem.

    #129307
     Radu
    Moderator

    I’ve understand, in our demo this is not happens ?

    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #129309
     efullman
    Participant

    What sets the conditions for post_type for the kleo and search.php for ?s=”search-term”

    Maybe something’s configured wrong?

    #129313
     Radu
    Moderator

    Please tell me if this is happens on our demo ?

    If not it’s possible that one of you used plugins to interfere with this or some change in child theme.

    Let me know

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #140969
     jplace
    Participant

    Hi – having the same issue. Ie, I can set the context for the ajax results using theme options (in my case, woocommerce products) which works for ajax and hitting return. However the View all results link has no context option (ie, it is simply ?s=”search-term”. Minimal plugins, up-to-date versions of all, currently testing site. I don’t mind going in and hard-coding it, if you could direct me. I would suspect that it is the same with the demo site, as the code appears to have a div with class kleo-ajax-type-product followed by a separate link for the View all results.

    Thanks

    #141174
     Radu
    Moderator

    Hi,

    For the moment I can provide to you nothing, please let us few days 1 week to can get into this and we will come back to you with something regarding the default wp context

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?