Search using Elementor Pages Widget

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 Ernest Marcinko 1 year, 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #41374
    Greg Falken
    Greg Falken
    Participant

    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.
    #41389
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


    #41562
    Greg Falken
    Greg Falken
    Participant

    Thanks 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.
    #41570
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    The 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 :)


    #41586
    Greg Falken
    Greg Falken
    Participant

    I 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?

    #41599
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    That 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 :)


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.