- This topic has 1 reply, 2 voices, and was last updated 9 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Display Sort Order?
Tagged: sort order
Hi, How would I display the sort order in a way similar to displaying categories or tags? Here’s the code I’m using, but only _sft_category and _sft_school display on my page.
$args = array(
"str" => '<strong>%1$s</strong>: %2$s',
"show_all_if_empty" => false
//"field_delim" => '<hr />'
);
echo $sf_current_query->get_fields_html(array("_sft_category", "_sft_school", "sort_order"), $args);
Here’s a link to the test page:
http://staging.cudenvertoday.org/articles
Thanks!
Hey Stephen
I don’t think the sort order is included in this actually.
I’ll have a look and get it added in the next update if thats the case.
Thanks