Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #775803

    Hi Kriesi Team,
    i use the plugin Relevanssi for search. i use this function snippet and put it at the bottom of the file:

    add_filter(‘avf_ajax_search_function’, ‘avia_init_relevanssi’, 10, 4);
    function avia_init_relevanssi($function_name, $search_query, $search_parameters, $defaults)
    {
    $function_name = ‘avia_relevanssi_search’;
    return $function_name;
    }

    function avia_relevanssi_search($search_query, $search_parameters, $defaults)
    {
    global $query;
    $tempquery = $query;
    if(empty($tempquery)) $tempquery = new WP_Query();

    $tempquery->query_vars = $search_parameters;
    relevanssi_do_query($tempquery);
    $posts = $tempquery->posts;

    return $posts;
    }

    but it dont work- you can see privat link
    thank you

    #777202

    Hey siteraum,

    Here is a piece of code that might help you.

    If that does not help, could you give us temporary admin access to your website in the private content box below, so that we can have a closer look.

    Best regards,
    Victoria

    #777211

    Hi Victoria,
    thank you for answer i put the code in the function but nothing is happend- can you please have a lokk

    #777904

    Hi,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look.

    Best regards,
    Victoria

    #778151

    Hi victoria
    i send you access to website…..

    thank you

    #778889

    Hi siteraum,

    Could you please explain, what exactly is not working? I see that your templates are called and then you have exit at the top of the file? You have search results, why not show them?

    Best regards,
    Victoria

    #778899

    Hi!

    I have checked the code in my installation and it is working as should.
    most probably you are doing something wrong from your side, but please keep in mind that we do not
    provide support with 3rd party plugins, but guidence.

    If you can not get it work, please consider to hire someone to help you with those tasks

    Best regards,
    Basilis

    #779113

    hi victoria, hi mike, thank you for answer,

    you are right- i installed on local and try it again- and it works! so i have some trouble with other plugins,

    thank you

    #779114

    Hey!

    Please feel free to create a new ticket if you need anything else.

    Thank you

    Regards,
    Basilis

    #779291

    Hi i make a big mistake in my child-theme,

    so i want to say that everything worsk fine with the Relevanssi plugin!! and sorry that i waste your time…..

    Thank you

    #779409

    Hi!

    There is no waste at all!
    We are here to help you out.

    We would appreciate if you could take a moment to rate our theme at Envato!
    It would be really helpful for us.

    Please feel free to let us know if there is anything else we can do for you

    Regards,
    Basilis

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Relevanssi Search not showing results on the search Page’ is closed to new replies.