-
AuthorPosts
-
April 11, 2017 at 6:08 am #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 youApril 13, 2017 at 12:24 pm #777202Hey 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,
VictoriaApril 13, 2017 at 12:31 pm #777211Hi Victoria,
thank you for answer i put the code in the function but nothing is happend- can you please have a lokkApril 14, 2017 at 5:36 pm #777904Hi,
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,
VictoriaApril 15, 2017 at 8:02 am #778151Hi victoria
i send you access to website…..thank you
April 17, 2017 at 7:42 pm #778889Hi 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,
VictoriaApril 17, 2017 at 8:02 pm #778899Hi!
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,
BasilisApril 18, 2017 at 7:43 am #779113hi 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
April 18, 2017 at 7:50 am #779114Hey!
Please feel free to create a new ticket if you need anything else.
Thank you
Regards,
BasilisApril 18, 2017 at 1:52 pm #779291Hi 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
April 18, 2017 at 3:58 pm #779409Hi!
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 -
AuthorPosts
- The topic ‘Relevanssi Search not showing results on the search Page’ is closed to new replies.