Forum Replies Created
-
AuthorPosts
-
vivekmathur196972
ParticipantThank you Ernest – somehow i think I am not able to explain myself properly.
I am looking at this document : https://documentation.ajaxsearchpro.com/advanced-options/advanced-title-and-description-fields
Near the bottom, this document shows how custom fields can be displayed in the search results. So here i see that the configs in plugin can be used to display certain fields in the resutls page, as shown in this doc. That is exactly what i want to do.
I understand your message that the plugin just generates the items and theme displays the results. So can you please let me know which theme will allow me to do that? I had thought that twenty-nineteen is a ‘generic’ theme which most plugins work with so i tested with that, but if not- then can you please advise which theme this will work with?
thanks very much, Vivek
vivekmathur196972
ParticipantThanks for the replies, Ernest.
I have some further observations, if you could please assist.
For point 1 : I tried this with theme twenty nineteen, and still i cannot see the custom field display, so i am assuming that i have not set configuration correctly. The results page is https://staging37.kidwise.in/?s=kidzee
and the admin page where the custom field is set up is : https://staging37.kidwise.in/wp-admin/edit.php?post_type=gd_place&page=gd_place-settingsthanks,
Vivekvivekmathur196972
ParticipantYou cannot access this content.
vivekmathur196972
ParticipantJust checked in functions.php you had added this code:
add_filter(‘get_search_form’, ‘asp_replace_search_form_no_option’, 9999999, 1);
function asp_replace_search_form_no_option( $form ) {
return do_shortcode(‘[wd_asp id=1]‘);
}vivekmathur196972
ParticipantThanks very much, Ernest.
You are right about the ajax results- that is from the theme search. I hid the ajax results using CSS, however the issue with the theme search input without ajax results is that there is no magnifier so user has to press enter to search – so that is not optimal
When I had installed ASP a few weeks ago, you had suggested and done some workaround to replace the theme search with ASP – I remember there were some options you had suggested which did not work with the Geodirectory advanced search which i also have on the site, and then you had done some ‘trick’ to set this – now sadly that information is gone and i dont remember what exactly you had done.
There seems to be some issue with the way the theme search is replaced and/or the Filter by content type. I do want to have filter by content type as users may be interested only in directory listings and not buddypress discussions and vice versa.
With the Filter by content type active, when i type ‘bishop’ in the theme header search it shows no results and the ASP search box with settings appear on no results page. However, now if i type ‘bishop’ in the ASP box then i get the 6 results – same as the case if Filter by content is turned off.
So basically i want to achieve the following:
1. Use the theme icon in header
2. Use ASP with filter by content settings (preferably the ASP input box also, so magnifier is available for action)
3. without ajax results
4. without interfering with geodirectory search
5. Ideally, also have the ASP search bar at teh top of the results page, so that users can use the fitlers and search again if they find too many irrelevant results.Do please let me know if these can be achieved – thanks very much for your help with this!
Vivek
-
AuthorPosts