Hi Trevor,
Thanks for the quick response.
I can get it to half work… This search query should yield the response:
“Search Results for: green Brexit, Legatum Institute, Posts”
http://smartthinking.staging.wpengine.com/?sfid=979&_sf_s=green&_sft_category=brexit&_sfm_think_tank=Legatum%20Institute&post_types=post#a
At least that is what I would like it to do. But currently only the category is showing.
This is the markup:
<?php
global $searchandfilter;
$sf_current_query = $searchandfilter->get(979)->current_query(); ?>
<h1 class="archive_title"><span><?php _e("Search Results for","wpbootstrap"); ?>:</span> <?php echo esc_attr(get_search_query()); ?>
<?php
$args = array(
"str" => '%2$s',
"delim" => array(", ", " - "),
"field_delim" => ', ',
"show_all_if_empty" => false
);
echo $sf_current_query->get_fields_html(
array("_sft_category", "_sft_post_tag", "_sft_sfdc_post_type", "_sft_sfdc_think_tank"),
$args
);
?>
</h1>
Have I done something wrong?
Thanks,
Alex