Forums
(@totu)
11 years, 1 month ago
Change in /plugins/advance-wp-query-search-filter/html/searchform.php line 16:
$args = array('hide_empty'=>$v['hide'],'exclude'=>$eid );
to
$args = array('hide_empty'=>$v['hide'],'include'=>$eid );
13 years ago
I found solution by myself. I modified that ts31os script
<?php $taxonomy = ‘developer’; $getTaxName = get_query_var($taxonomy); $postsInCat = get_term_by(‘name’, $getTaxName, $taxonomy); $postsInCat = $postsInCat->count; echo $postsInCat; ?>