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.
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 › How to show the currently selected title only
Tagged: format category title
GOT IT!!!
global $searchandfilter;
$sf_current_query = $searchandfilter->get(504)->current_query()->get_array();
if (empty($sf_current_query)) {
echo ('All Articles');
}
else {
echo $sf_current_query['_sft_category']['active_terms'][0]['name'];
}
The above code worked like a charm, I also use the “Archive” setting as you suggested! Thanks so much for your help on this one!! Finally working properly!! 🙂