Forums Forums Search & Filter Pro Multiple results shortcode's on 1 page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #52966

    Hi guys,

    First of all, great plugin :). Really looking forward to explore all the features!

    However, i have a question about the shortcode-implementation. I currently have multiple CPT’s and I’m using the shortcode functionality because the standard archive gives back the same title for every page, and the CPT archive option aint working out for me…

    I currently set up a whole bunch of archive pages, but on one page i have two search fields. Both the fields should update the same list of results. Is there any option how i can achieve this?

    <div id="employees-overview">
    
        <?php if ( function_exists('yoast_breadcrumb') ) {yoast_breadcrumb('<div id="breadcrumbs"><div class="container">','</div></div>');} ?>
        
    	<div class="container">
    	    <div class="intro">
    	        <h2><?php echo $title; ?><?php //echo get_the_title( $id+1 ); ?></h2>
    	        <?php //echo get_the_content( $id ); ?>
    	        <?php echo $text; ?>
    	    </div>
    	</div>  
        <div class="container">
        	<div id="list-overview">
        
    		    <?php if ( wp_is_mobile() ) { ?>
    			    <div class="showFilter">Toon filter</div>
    			<?php }?>
    		
    	        <div class="filter <?php if ( wp_is_mobile() ) { ?>mobile<?php }?>">
    	            <div class="content">
    	            <h3>Filter op functie</h3>
    	            <?php echo do_shortcode('[searchandfilter id="1188"]'); ?>
    	            </div>
    	        </div>
    		
    	       <svg width='188px' style="display:none;" class="loader" height='188px' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="uil-ripple"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><g> <animate attributeName="opacity" dur="2s" repeatCount="indefinite" begin="0s" keyTimes="0;0.33;1" values="1;1;0"></animate><circle cx="50" cy="50" r="40" stroke="#066cb5" fill="none" stroke-width="2" stroke-linecap="round"><animate attributeName="r" dur="2s" repeatCount="indefinite" begin="0s" keyTimes="0;0.33;1" values="0;22;44"></animate></circle></g><g><animate attributeName="opacity" dur="2s" repeatCount="indefinite" begin="1s" keyTimes="0;0.33;1" values="1;1;0"></animate><circle cx="50" cy="50" r="40" stroke="#066cb5" fill="none" stroke-width="4" stroke-linecap="round"><animate attributeName="r" dur="2s" repeatCount="indefinite" begin="1s" keyTimes="0;0.33;1" values="0;22;44"></animate></circle></g></svg>
    		       
    	       <div class="search-module">
    	           <?php echo do_shortcode('[searchandfilter id="1190"]'); ?>
    	       </div>
    	       <?php echo do_shortcode('[searchandfilter id="1188" show="results"]'); ?>
    	       <?php echo do_shortcode('[searchandfilter id="1190" show="results"]'); ?>
    	         
    	    </div>
    	</div>
    </div>

    Would love te get some feedback. Thanks!

    Anonymous
    #52974

    // Looks like i cant edit my post

    Just found this topic: https://support.searchandfilter.com/forums/topic/multiple-search-forms-same-result-shortcode/. Guess the option is not available yet?

    Trevor
    #52983

    As you guessed, not at this time.

    Anonymous
    #80747

    Hey, has this been implemented yet? Would love to have a simple search-field in the header, leading to my main search 🙂

    Trevor
    #80817

    This feature is under consideration for the next major release, v3, but that is many months away. In the meantime, we are yet to release v2.3.0, the last of the releases (except for maybe some bug fixes) for v2.

    Anonymous
    #80821

    I understand. Thank you for the swift response!

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