Last active
June 20, 2016 21:19
-
-
Save szeidler/17e187600efadbed0fe7 to your computer and use it in GitHub Desktop.
Hide Facet API counter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function theme_facetapi_tabs_inactive($variables) { | |
unset($variables['count']); | |
return theme_link($variables); | |
} | |
function theme_preprocess_facetapi_link_inactive(&$variables) { | |
// hide facet count | |
unset($variables['count']); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment