This functions generates sort-panel and doing the same as shortcode [mdf_sort_panel]
Examples:
Without panel_id:
1 | <?php MDTF_SORT_PANEL::mdtf_catalog_ordering(); ?> |
With panel_id:
1 | <?php MDTF_SORT_PANEL::mdtf_catalog_ordering(array('panel_id'=>186)); ?> |
If you will not set panel_id attribute in the widget (or [mdf_search_form] shortcode), default panel ID will be applied for current sort-panel, which you can set in the plugins settings (tab 'Miscellaneous').