Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search using Elementor Pages Widget
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 1 month ago.
- AuthorPosts
- February 14, 2023 at 6:40 pm #41374
Hello,
I have a few questions that I couldn’t find answers to in the documentation.
1. I am adding search to a site using the Elementor Pages Widget. I want all pages except search results to display a simple search box with only the magnifier icon. On the search results page, I want the generic filters and CPTs to show with checkboxes.(see screenshots). The only way I can find to do this is to make 2 different search instances but then they have different class names, breaking the connection between the simple search box and the results page.
2. I would like to group search results on the page in the same order as in the widget (Pages, Posts, Events). Can this be done using the Elementor Pages Widget?
3. Is it possible to display a results information box on the Elementor page?
Thanks.
-Greg
Attachments:
You must be logged in to view attached files.February 15, 2023 at 11:29 am #41389Hi,
1. In this case I think the best use case is to simply make the settings invisible on pages via custom CSS, except for the results page.
.asp_ss { display: none !important; } body.search .asp_ss { display: block !important; }
This should work if the results page is the actual results page.
2 & 3. Unfortunately these are not possible. The results information box may be added in a later release (it looks like it is possible), but overall these features are very problematic because they require a direct modification for the Elementor widget outputs, and that is a good source for possible incompatibility issues.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 27, 2023 at 8:38 pm #41562Thanks for the response. I was able to solve the search box display issue with the CSS that you suggested.
I’m still having a problem with displaying results information, even after switching to the standard search results page. The site is using Elementor Pro on top of the free Astra theme and as far as I can tell, there is no customization being done to the regular search results. Can you suggest any settings that I might have missed.
Thanks.
Attachments:
You must be logged in to view attached files.February 28, 2023 at 11:03 am #41570The regular search results on the results page can not be customized via a plugin – that is controlled by the theme you are using (or elementor if you use their archive widgets). Any customiztation for the results page has to be done via the theme/elementor widget editor.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 1, 2023 at 6:55 pm #41586I understand that the results themselves are controlled by the theme. I’m referring to the Results Information Box. What causes that information to be displayed on the search results page?
March 2, 2023 at 4:38 pm #41599That box can not be displayed on the results pages unfortunately, it is coded to the live results box. Anything displayed on the results page is coming from the results page template. Try looking for a breadcrumbs feature, many theme do have a title/information box by default to display the number of results and the search phrase, and usually it is also customizable.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.