Display Sort Order?

Forums › Forums › Search & Filter Pro › Display Sort Order?

Tagged: 

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #37243

    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!

    Ross Moderator
    #37918

    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

Viewing 2 posts – 1 through 2 (of 2 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.