Forums › Forums › Search & Filter Pro › Date not always showing
Tagged: categories, date
- This topic has 15 replies, 2 voices, and was last updated 9 years ago by Ross.
-
Ross Moderator(Private) November 20, 2015 at 12:25 am #30256
Just realised you might want something like this?
Thanks
Anonymous(Private) November 20, 2015 at 1:15 pm #30310That doesn’t work. I used the following code:
<?php //Get a single fields values using labels
//replace1526
with the ID of your search form
global $searchandfilter;
$sf_current_query = $searchandfilter->get(14458)->current_query();
echo $sf_current_query->get_field_string(“_sft_category”);
?>The output is:
Categories: All Categories
What I had before was better since it displayed the proper category.
What I’m looking for is a way to display:
Category: CategoryName
And have the category linked to display the output as if selecting from the dropdown instead of a different layout.
This is the current page below which is almost there.
-
AuthorPosts