Search Results for 'elementor'

Forums › Forums › Search › Search Results for 'elementor'

Viewing 10 results – 1,131 through 1,140 (of 1,276 total)
  • Author
    Search Results

  • Anonymous
    Inactive

    Was there ever a fix for this? I have the exact problem


    Trevor
    Participant

    In the Post grid setup, do you have Masonry enabled? If not, can you try that? You would need this script on the page (you can put it inside the simple text editor pane – not the visual text editor pane of the widget – of a Text Widget):

    <script>(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));</script>

    It can be in the same Text widget at the shortcodes for the form and the filter_next_query action, in which case the whole thing would look like this (your ID will be different:

    [searchandfilter id="222"][searchandfilter id="222" action="filter_next_query"]<script>(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));</script>

    Anonymous
    Inactive

    Greetings,

    I am using Elementor editor. When I use taxonomies and Ajax filters the results, I get white space between the image thumbnail and the title text. I have followed your instruction on Elemenetor Pro and your suggested css and javascript fix that you posted on December 18, 2018 at 8:38 p but it does not seem to work for my site.

    I have added the css in the custom css tab inside the post widget and the java script in the html editor widget in the page.

    Thank you

    #201009

    Anonymous
    Inactive

    Hi I’m using Elementor with Search & Filter and I have pagination set to show ten posts. It’s doing this and only showing ten items but there’s no controls that I can see to click to the next page, in my settings I have pagination set to .elementor-pagination a
    I’m not too sure what else I can check to test it out.

    #200960

    Trevor
    Participant

    OK. Is the Masonry option ON in the Elementor Post Grid? It is best to be ON.

    In the text block where the [searchandfilter id="2514"] is, add also this code (in Text mode):

    <script>(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));</script>
    #200917

    Anonymous
    Inactive

    Hi S&F 🙂
    i am trying to filter posts of a specific category by tags. With “no” filter applyed it should show my all posts of the category.

    I cant get it to work, even so i think i did all accordingly to the documentation and forum posts. The Filter of Search%Filter Pro do not get applyed and it only shows the posts according to the “Query”- of the Elementor Post Widget. Heres what i did:

      Created new Search form with Display results method “Custom”.
      Set Results URL to the URL where the Posts Widget is at
      Added “Tag” and “Reset Button” to Searchform UI
      Added a HTML Block on the Page in Elementor saying “[searchandfilter id=”2514″]”
      Added a HTML Block beneath the previous Block on the Page in Elementor saying “[searchandfilter id=”2514″ action=”filter_next_query”]”
      After that comes the Post Widget with a specific class
      Added that class to Display Results->Ajax->Ajax Container and added “.elementor-pagination a” to Pagnation Selector

    https://imgur.com/a/sH8y66g

    #200883

    Trevor
    Participant

    We have integration for ACF in the search form (the fields can be found in the Post meta Form UI objects – make sure you select the field name WITHOUT the preceding underscore).

    I do not know if it is possible to display custom fields with the Elementor Post grid. You should ask Elementor support that question.

    Geo location (searching using a zip code for example) is something we are planning to add at some point in the V3 development cycle (but not in the first version of V3). At this point we have not explored integrating with a Store Locator plugin, as that would first need to Geo location functionality.

    #200844

    Anonymous
    Inactive

    Thanks again for your reply Trevor.
    Finally i found that S&F is compatible with Elementor which is already installed in my site and i follow the appropriate steps to get work with the Post Grid.
    The result is excellent but when i choose any choice from the dropdown filters, the grids crashed a little as you can check also.
    So, this is my case now and something else, how can i integrate it with Advanced Custom Fields which i have already installed?

    Thanks in advance.


    Anonymous
    Inactive

    I’ve created a S&F form to use in Elementor Pro, it’s filtering correctly on desktop, and I’ve got through a few z-index issues using media queries. Everything looks fine when displaying mobile widths on my desktop in Chrome and Firefox.

    However, when I use Chrome or Firefox on my mobile, I’m getting two different displays for the form, and I can’t really select anything on either of them. On Chrome, instead of the dropdowns having their unique titles, it shows “0 selected”. I can’t click and select anything, except for the first dropdown, and that’s not easy to get the right spot.

    On Firefox in my mobile, they are showing as lists, and I still can’t select anything.
    Chrome on mobile

    Firefox on mobile

    I’m using the basic setup, as per the instructions on your site, without Ajax.
    Test site with form on it


    Anonymous
    Inactive

    Hi, we are using S&F with Elementor, and to get results for a custom post type & custom fields to display how we wanted them to, we made a shortcode with a loop. It works great except for one thing: it never shows a “no results” message. If I search for “sdfnkjsnsdnf” or other nonsense, it displays all the posts instead of the no results message. Otherwise, it filters properly. Here is our shortcode:

    function tm_show_testimonies( $atts ) {
    
        // The Query
        $args = array('post_type' => 'testimony_cpt');
        $args['search_filter_id'] = 13551;
        $the_query = new WP_Query( $args );
    
        // The Loop
        if ( $the_query->have_posts() ) {
            // Wrapper div
            $output .= '<div class="tm-testimonies-list">';
            // Column headings
            $output .= '<div class="tm-testimony column-headings">';
                $output .= '<div>Name & Location</div>';
                $output .= '<div>Date</div>';
                $output .= '<div>Category</div>';
                $output .= '<div>Testimony</div>';
            $output .= '</div>';
            while ( $the_query->have_posts() ) {
                $the_query->the_post();
                $tmyID= get_the_ID();
                $tmyTerms = get_the_terms( $tmyID, 'testimony_tags' );
                $termResults = [];
                    // Make the terms array into a string
                    if ($tmyTerms) {
                        foreach( $tmyTerms as $term ) {
                            $termResults[] = $term->name;
                            $tmyTags = implode(", ",$termResults);
                        }
                    } else {
                        $tmyTags = "";
                    }
                $tmyDate = get_the_date( 'F j, Y' );
                
                // Get custom fields
                $tmyName = get_post_meta( $tmyID, 'testimony_firstname', true ) . ' ' . get_post_meta( $tmyID, 'testimony_lastname', true );
                $tmyLocation = get_post_meta( $tmyID, 'testimony_location', true );
                
                // Format the output
                $output .= '<div class="tm-testimony">';
                    $output .= '<div><span class="testimony-name">' . $tmyName . '</span><br><span class="testimony-location">' . $tmyLocation . '</span></div>';
                    $output .= '<div>' . $tmyDate . '</div>';
                    $output .= '<div>' . $tmyTags . '</div>';
                    $output .= '<div><h3 class="testimony-title">' . get_the_title() . '</h3>';
                    $output .= '<p>' . get_the_excerpt() . '</p></div>';
                $output .= '</div>';
            }
            $output .= '</div>';
            /* Restore original Post Data */
            wp_reset_postdata();
        } else {
            //No Results
            $output = '<div class="search-filter-results-list" data-search-filter-action="infinite-scroll-end"><span>No Results Found</span></div>';
        }
    
        // Return shortcode output
        return $output;
    }

    Can you tell me if there is something we need to change in order for S&F to show a no results message? Thanks!

Viewing 10 results – 1,131 through 1,140 (of 1,276 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.