Forums Forums Search & Filter Pro I don't know how to make it work with ACF

Viewing 10 posts - 11 through 20 (of 22 total)
  • Anonymous
    #210654

    Decrease font size and line spacing (or line-height)

    Anonymous
    #210658
    Trevor
    #210717

    ‘To hide’ part.

    As you are using our Shortcode Display Results method, the guide to customising it is here:

    https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results

    Your results.php file will have these lines in it (27-46):

    	?>
    	
    	Found <?php echo $query->found_posts; ?> Results<br />
    	Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />
    	
    	<div class="pagination">
    		
    		<div class="nav-previous"><?php next_posts_link( 'Older posts', $query->max_num_pages ); ?></div>
    		<div class="nav-next"><?php previous_posts_link( 'Newer posts' ); ?></div>
    		<?php
    			/* example code for using the wp_pagenavi plugin */
    			if (function_exists('wp_pagenavi'))
    			{
    				echo "<br />";
    				wp_pagenavi( array( 'query' => $query ) );
    			}
    		?>
    	</div>
    	
    	<?php

    You need to remove these.

    With regard to the form, you also mentioned font sizing? I would use the browser developer tools inspector to work out what to change, and the gaps will be set as margins I would guess, but i would need to see a live link/URL to your search page so I can take a look.

    Anonymous
    #210811
    This reply has been marked as private.
    Anonymous
    #210815
    This reply has been marked as private.
    Trevor
    #210831

    I suspect that they way you have it made it will not work. If a post does not have a value in the field that is used for a slider, the post will never appear once a search has been made.

    Even though you have set those fields to only apply to one set of posts in the ACF Field Group, our plugin does not see those settings. Those settings only affect what is shown in the WordPress editor page for the posts, they do not set a rule we can use to filter by.

    Anonymous
    #210833

    there is no method?

    Trevor
    #210837

    Not to avoid this problem, I am sorry, no.

    Anonymous
    #210847

    can I make some choices obligatory?

    Trevor
    #210849

    That is not possible, I am sorry.

Viewing 10 posts - 11 through 20 (of 22 total)