Forums › Forums › Search & Filter Pro › Search Results With CPT & ACF fields
- This topic has 8 replies, 2 voices, and was last updated 5 years, 5 months ago by
Trevor.
Viewing 8 posts - 1 through 8 (of 8 total)
-
Trevor(Private) May 20, 2020 at 2:10 pm #245136
This is what I see. To get the fields to show in the results you would need to code them into the template, using this guide:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results
The extra code would likely need to look like this:
<?php $county = get_field('county'); if( $county ) { ?> <div class="county-field">County: <?php echo $county; ?></div> <?php } ?> -
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)