The forums are closed and will be removed when we launch our new site.
Looking for support? You can access the support system via your account.
The forums are closed and will be removed when we launch our new site.
Looking for support? You can access the support system via your account.
Hi Trevor,
Unfortunately the update doesn’t work, even with this fix plugin installed. The person with the login capability is away, so I can’t update the plugin for a while yet. So I can’t do anything until it’s updated, correct?
Done – the update will have to wait as it’s a locked down Windows system that I don’t have access to (The file manager plugin won’t extract the Search and Filter files). Could you let me know if the update would address this?
Tagged for email notification 🙂
Hi there,
I installed the fix-windows plugin, no luck. I have version 2.3.4 installed. I will try the manual update, but before I do, is there any issue with the domain authorization being a subdomain? It’s displaying as: accredited.factwebsite.org/ (should it have the http:// in front in the display? Ie, is it incomplete?)
Perfect, thank you!
Unfortunately that’s a no-go. The complete code I put in (using your good chunk there) looked like:
<?php global $searchandfilter;
$sf_current_query = $searchandfilter->get(15)->current_query()->get_array();
echo '<strong>Filtered by:</strong>';
if ( is_empty($sf_current_query ) ) {
echo "all";
} else {
foreach($sf_current_query as $key) {
echo ' • ' . $key['active_terms'][0]['name'] . ' ';
}
}?>
Am I missing something above if? Feels like that’s maybe where I’m off?
(The page does not display anything – no sidebar, no search form, so as-is above it pretty broken – did I close off the function properly?)
For clarity, this is what I used:
global $searchandfilter;
$sf_current_query = $searchandfilter->get(339)->current_query()->get_array();
foreach($sf_current_query as $key) {
echo '<div>' . $key['active_terms'][0]['name'] . '</div>';
}
Hello! That worked perfectly, just a bit of styling to do – thank you so much, and sorry for the delay, busy week 🙂
© 2024 Search & Filter Support. All Rights Reserved.
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.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy