ygagnon2016
Forum Replies Created
-
It’s fixed now — no more critical errors.
Thank you!
— YvanOk .. so I guess we’re circling back to your original suggestion (I appreciate your patience, btw). Now perhaps you could help me fill in the blanks here? Assuming that I’d add something like this to my child theme’s functions.php file, how would I append a “Hello World” type string to the search results?
add_action( 'is_pre_get_posts', 'rpp_retrieve_mls_properties' ); function rpp_retrieve_mls_properties( $query ) { // ??? }
Thanks,
— YvanBut that’s not what I’m asking. This relates to my original question and title .. only I now want to achieve the same thing without the AJAX functionality
“Searching external APIs / data sets in addition to the WP database?”
`I’m currently using the free version of the Ivory Search plugin on a Real Estate site that I’ve been developing, and I was wondering if it might be possible for me to extend it’s functionality somehow so that it also searches — and displays results from — an external API (more specifically, .. from the MLS).
I’m already interfacing with this same MLS API pretty extensively throughout the site, and it would be ideal if we could just customize or extend the Ivory Search plugin so that it interfaces with and returns results from the same API.
Is this possible at all, .. either in the free or premium version? If so, how might I go about that … preferably without having to modify the plugin directly?
Thanks,
— Yvan`Yes .. I’m aware of how and where to turn that off in the settings.
What I’m asking is … which template file(s) would I then need to copy over to my child theme folder and modify if I wanted to apply customizations (if I was to disable the AJAX search results functionality) ?
Thanks,
— YvanI have just a quick followup question for you (hope you don’t mind).
If I wanted to disable AJAX Search, .. which template file(s) would I need to copy over to my child theme folder and modify if I wanted to apply customizations?
I ask because although I’ve succeeded at applying my customizations to the AJAX search results, I’m finding that it’s slowed things down considerably, and I’m now considering possibly disabling the AJAX search functionality and instead redirecting users to a separate search results page. Please advise.
Thanks!
— YvanYes! Thank you so much!! I’ve updated the Ivory Search plugin to the latest version as you’ve suggested, and it’s working now when I copy over only the is-ajax-results.php file to the root of my child theme folder. Thanks so much for your patience and for working through this with me. Have a wonderful holiday!
Cheers,
— YvanWhen I copy JUST the is-ajax-results.php file to the root of my child theme folder — it DOES appear to be overriding the plugin. However, I am getting an internal server error and I never get any search results (the spinner just keeps spinning).
The same thing happens when I copy JUST the is-ajax-results.php file to the root of my parent theme folder.
[HTTP/1.1 500 Internal Server Error 400ms]
Are there any other files or folders that I’m supposed to copy over? If so, which ones?
I just tried what you suggested and it still didn’t work. So is it just not possible to override this plugin? Or are you having any success overriding it somehow?
I did try that .. and it also didn’t work for me. Are you sure that the directory structure that you told me to create within my child theme folder is correct?
/public/partials/is-ajax-results.php
— Yvan
This is the theme that I’m using (which actually comes with a separate child theme):
https://themeforest.net/item/houzez-real-estate-wordpress-theme/15752549
It’s a commercial theme that has a $69 license fee, so I can’t really just hand it off to you or anything. But I’m happy to share a link to the child theme zip file. I’m just not sure that you’ll be able to do anything with it without having the actual Houzez parent theme installed.
https://dev.royalpalm.com/houzez-child.zip
Thanks again for your help.
— Yvan
I’ve attempted to override the UI of the AJAX search results as you’ve suggested, but it doesn’t seem to be working.
This is folder/file structure that I’ve added to my child theme directory on the server:
/public/partials/is-ajax-results.php
I also made certain to modify the is-ajax-results.php file so I could verify that I’m actually overriding it, .. but I’m not seeing any changes at all whatsoever.
What am I missing? It isn’t necessary that I use the plugin is_pre_get_posts hook in order for this to work, is it?
— Yvan
- This reply was modified 2 years, 11 months ago by ygagnon2016.
Thank you for this! Could you by any chance provide me with an example as to how I would implement this hook/override in my child theme’s functions.php file? I ask because I can’t quite tell if I’m supposed to override the entire “pre_get_posts” method, .. or something else that’s within it. I’m thinking something simple that appends 1 additional row that contains something like “Hello Word” to the Ajax search results. I could then substitute that with my API call and data fetching.
Thanks,
— YvanI understand that your plugin does not provide this functionality, .. but are there any built in “hooks” of any kind that would allow me extend it’s functionality somehow, perhaps by adding something to my child theme’s functions.php file?
— Yvan
Can anyone here answer this question for me? I don’t want to purchase an Elementor Pro license if the plugin can’t do what I need it to.
Thanks,
— YvanThanks for your response. What would be more helpful, I think, is if you could tell me of any specific plugins that are known to NOT be 100% compatible with yours. Do you have any such list that you could share with me, perhaps?
Just to provide a bit more background info .. I’m encountering this problem on a staging environment .. which is only accessed by myself when I’m developing. It seems as though the problem occurs mostly after the site hasn’t been accessed in a while .. like first thing on a Monday morning, for example. Fairly consistently, the first login attempt always fails .. but then the 2nd attempt works fine (as well as successive attempts on that same day).
I saw a while back that someone else in this support forum posted about the exact same problem .. though no one ever responded to his inquiry. Do you have any thoughts as to why this problem might be occurring, given the additional information that I’ve provided?