-
AuthorPosts
-
December 15, 2015 at 12:14 pm #552937
Hello,
I have noticed that you offered PHP snippets in order to allow the use of alternate search engines for WordPress. As I would like to use the geeSearch Plus plugin (https://wordpress.org/plugins/gsearch-plus/) with the ajax search function – preview search results when you click on the magnifier icon – could you be so kind to share the code needed to allow me to fully use it with my Enfold child theme?Thanks for your help,
Diego Meozzi
December 16, 2015 at 9:33 am #553513Hey Diego,
We have solutions for SearchWP and Relevanssi: http://kriesi.at/documentation/enfold/?s=search. I’m not familiar with the plugin you are using though.
Best regards,
RikardDecember 17, 2015 at 11:26 am #554312Is there any chance to have a look at the PHP functions used by that plugin and adapt a script so to allow me to using it with Enfold? If not, what should I look for to make that script by myself?
This is the link to get the geeSearch Plus plugin:
https://downloads.wordpress.org/plugin/gsearch-plus.1.4.3.zip
Thanks for your help,
Diego
December 18, 2015 at 5:21 am #554820Hi,
That would take a lot of customisation and time and would be considered out of scope of forum support unfortunately. I’m not sure how the plugin you would like to use is set up so I can’t really suggest where to start either.
Best regards,
RikardDecember 21, 2015 at 7:28 pm #556139>We have solutions for SearchWP and Relevanssi: http://kriesi.at/documentation/enfold/?s=search.
OK, I have switched to Relevanssi plugin, but the solution you provided here:
http://kriesi.at/documentation/enfold/use-relevanssi-in-search-instead-of-the-default-search/
does not work on a child theme. Do you have any suggestion on how to make it work?
And speaking of Relevanssi, do you know why the “Highlighting” function does not work on Enfold posts?
Thanks for your help,
DiegoDecember 23, 2015 at 6:01 am #556882Hi,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardDecember 23, 2015 at 9:34 am #556931As you will see, I’m using a fairly complex custom-made plugin (Custom Type Aerei) to allow custom posts within your theme. And currently the Relevanssi plugin does work because I’ve modified the main functions-enfold.php file, as adding the function in the child theme didn’t work.
Thanks for your help!
- This reply was modified 8 years, 11 months ago by nightjar. Reason: Adding ftp data
January 4, 2016 at 6:49 pm #559398Hey!
unfortunately we can’t help you in your case. It would take a huge amount of time and customization. Please hire a freelance developer for this kind of job.
Best regards,
AndyJanuary 5, 2016 at 1:30 pm #559910After having waited almost two weeks for a reply, I would have appreciated at least a working solution to allow the use of Relevanssi plugin in the child theme. I’m sure for *that* “a huge amount of time and customization” won’t be needed from your part…
January 6, 2016 at 3:06 am #560251Hi!
I didn’t test this personally but please try to replace the code in the functions.php file with the following code:
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; } add_action('init', 'ava_activate_relevanssi'); function ava_activate_relevanssi() { add_filter('avf_ajax_search_function', 'avia_init_relevanssi', 10, 4); }
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.