Home » Topics » Technical and configuration issues » New features requests » the facet counts in the braces should be inside a span with a special class
the facets of WPSOLR showing as: attribute (count) should rather be attribute <span class=wpsolr_facet_count>(count)</span> —— this would allow further styling of product counts via css
You can override the facet item template in screen 2.6. Replace the template “Facets list element name with #results” default value: %s (%d) with %s <span class="my-class-name">(%d)</span>
%s <span class="my-class-name">(%d)</span>
Lovely, worked like magic. earlier i hacked the class-wpsolr-data-facets.php to achieve that effect. screen 2.6 saved my day – big thanks.
You must be logged in to reply to this topic.