-
Search Results
-
Hello!
I have a question – is it possible to place few different search forms on the same page and make them work together?
I’m using elementor. And the thing is that I want to display my posts in the grid instead of one under the other. And we have a lot of categories / tags that a user can filter by. So if I’m using just one filter form, in the sidebar (search, categories, tags), it leaves me with A LOT of white space in the main posts container. Especially after at least one filter is applied.
So I want to have them separated, in bookmarked columns, so user can switch between bookmarks for different filtering options.
But when I have 3 separate filter forms: for search form, for categories filter and for tags – they don’t work “together”. When I filter by a category, the tags count doesn’t change. And when I want to apply a category filter and a tag filter together – it’s not possible at all. It’s either one or the other.
Or maybe there’s a way to ‘bookmark’ filter terms in one filter form, so each term has it’s own ‘column’?
i hope I made things clear enough… Let me know if you have any questions!
Cheers,
BartekHi,
I have multiple taxonomies as well as categories. However using elementor pro template dynamic archive heading – this heading doesn’t change or update when i choose this or that category or other taxonomy.
How do I solve that?
Many thanks in advance.
Topic: bug in select
i create search form, i use shortcode, i create page with my shortcode but the results not good,
i use like this:function select_artist_in_filter_page() { $args = array('post_type' => 'artist','posts_per_page' => -1); $my_query = new WP_query($args); if($my_query->have_posts()) { echo '<div class="elementor-container elementor-column-gap-default"> <div class="elementor-row"> <div class="elementor-element elementor-element-80b276a elementor-column elementor-col-100 elementor-top-column" data-element_type="column"> <div class="elementor-column-wrap elementor-element-populated"> <div class="elementor-widget-wrap"> <div class="elementor-element elementor-element-62b3681 elementor-grid-4 elementor-grid-tablet-4 elementor-grid-mobile-1 elementor-posts--thumbnail-top elementor-card-shadow-yes elementor-posts__hover-gradient elementor-widget elementor-widget-archive-posts" data-element_type="widget" data-widget_type="archive-posts.archive_cards"> <div class="elementor-widget-container"> <div class="elementor-posts-container elementor-posts elementor-grid elementor-posts--skin-cards elementor-has-item-ratio">'; while($my_query->have_posts()) { $my_query->the_post(); $custom = get_post_custom(get_the_ID()); $image = wp_get_attachment_image_src( get_post_thumbnail_id( $args->ID ), 'single-post-thumbnail' ); // the images for the artist echo '<article class="elementor-post elementor-grid-item post-170 artist type-artist status-publish has-post-thumbnail"> <div class="elementor-post__card"> <a class="elementor-post__thumbnail__link" href="'.get_permalink($args->ID).'"> <div class="elementor-post__thumbnail"><img height="150" src="'.$image[0].'" alt=""></div> </a> <div class="elementor-post__text"> <h3 class="elementor-post__title"> <a href="'.get_permalink($args->ID).'">'.get_field('artist_name').'</a> </h3> </div> <div class="elementor-post_meta-data" style="text-align: center; background: #d80159;"> <a class="elementor-post__read-more" href="tel:'.get_field('Artist_Phone').'">'.get_field('Artist_Phone', $args->ID).'</a> </div> <div class="elementor-post__meta-data"> <span class="elementor-post-avatar"> המלצות: '.get_comments_number($my_query->ID).' </span> </div> </div> </article>'; } echo '</div></div></div></div></div></div></div></div>'; wp_reset_postdata(); } } function select_artist_in_filter_page_reset() { // reset the loop ob_start(); select_artist_in_filter_page(); return ob_get_clean(); }
but i not see the real options, i see all artist i need to see the artist with location i choose in fitlers:
https://mesibot.linuxisrael.co.il/filterresults/?_sft_location_artist=%d7%9b%d7%9c-%d7%94%d7%90%d7%a8%d7%a5
this is the urlway is not working ?