Forums Forums Search Search Results for 'elementor'

Viewing 10 results - 791 through 800 (of 1,069 total)
  • Author
    Search Results
  • #222236

    Anonymous
    Inactive

    In my opinion – Elementor is used only for displaying results – this is only a grid to show results. Elementor is not a search engine.
    But SFPro searches and filters data.
    SFPro asks database, should count results, should display number of results and should display information about 0 results.
    I’m sure that this is a role of SFPro.

    If you send query to database you get an answer about the results and then you use Elementor to display grid. SFPro should get information about the number of results.
    That’s all.
    I won’t send an ask to Elementor team because they told me “we only display and information using our grid and something different is used to search”. I’m sure.

    This is a case for this app.

    The same situaction is when I use some wordpress templates with shop filters. I’m using Elementor to display grid with results but this is a role of theme to filter results and the number or results. I can disable Elementor but the number of results is still displayed.

    Could you implement these solutions to SFPro?
    – displaying the number of results
    – displaying any solution to display custom content in case we get “no results”.

    #222217

    Trevor
    Participant

    For a no results scenario, Elementor does not have a method to allow Ajax refresh of the results that gives no results. There is not a lot that can be done to rectify this.

    What tends to happen is, if you do a search that has no results, whatever results were on the page remain.

    I am not aware that Elementor has a solution to this, but you could ask them (it is their post grid that is building the results), we are simply passing the filter criteria to that.

    #222176

    Anonymous
    Inactive

    I’m wondering how to display a custom message in case there is no results.
    In that case I’d like to display custom content (using Elementor) – maybe contact form or header with some texts…

    How to do this?

    #222077

    In reply to: Hierarchy Question


    Trevor
    Participant

    You will indeed need two custom taxonomies. Have we discussed this before? You can keep/re-use what you have, most likely. See this post:

    https://support.searchandfilter.com/forums/topic/elementor-filter-not-working-showing-all-results/#post-221562

    #222022

    Trevor
    Participant

    It was in the link I gave you. It is this:

    (function ( $ ) {
    	"use strict";
    	
    	// detects when the ajax request has finished and the content has been updated
    	// re-init the layout scripts from Elementor
    	$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
    		elementorFrontend.hooks.doAction('frontend/element_ready/posts.classic', jQuery('.elementor-widget-posts'));
    	});
    	
    }(jQuery));
    #222018

    Anonymous
    Inactive

    I added this code to

    appearance -> Custom CSS / JS

    
    (function ( $ ) {
    	"use strict";
    	
    	// detects when the ajax request has finished and the content has been updated
    	// re-init the layout scripts from Elementor
    	$(document).on("sf:ajaxfinish", ".searchandfilter", function(){
    		elementorFrontend.init();
    	});
    	
    }(jQuery));
    
    #222013

    Trevor
    Participant

    I think it is being disabled by some JavaScript. I suspected it was the JavaScript that you had used from our documentation. We re-wrote that JavaScript to make it target the results better, as it was interfering with other Elementor parts of users’ web sites. Did you give that new script a try, replacing the script that you were using?

    #221877

    Trevor
    Participant

    Did you follow the guidance for using our plugin with Elementor? This post is likely to be useful:

    https://support.searchandfilter.com/forums/topic/how-can-i-search-elemntor-column-while-retaining-the-design-of-that-column/#post-209754

    #221846

    Anonymous
    Inactive

    Hi, i have set up a filter of categories but when i select a category its shows all posts from all categories rather than the one i have selected.

    I am using elementor and ajax.

    #221678

    Trevor
    Participant

    You want the choices formatted like this?

    https://www.screencast.com/t/1bgCftYgMBw

    It is possible with Custom CSS, yes. I can help you when you get that far.

    Custom Fields are called ‘Post Meta’, so add one of these to the form, then, for the Meat Key name, make sure NOT to select the field name starting with an underscore _. Find the alternative without that. This advice applies ONLY to ACF custom fields.

    I also see you are using Elementor, so this post may be useful:

    https://support.searchandfilter.com/forums/topic/how-can-i-search-elemntor-column-while-retaining-the-design-of-that-column/#post-209754

Viewing 10 results - 791 through 800 (of 1,069 total)