-
Search Results
-
Was there ever a fix for this? I have the exact problem
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
Topic: Pagination not fully working
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.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.
I’m using the basic setup, as per the instructions on your site, without Ajax.
Test site with form on itHi, 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!