Dashboard Custom Taxonomy Counts
-
The current version of Simple Taxonomy has a mistake where the number “15” is hard-coded as the count for custom taxonomies in the dashboard’s “Right Now” panel.
To fix this, add the following code:
before line 36 of inc/class.admin.php
$terms = get_terms($taxonomy['name'],array('hide_empty'=>false));
and in place of line 38 of inc/class.admin.php (the line with 15)
<td class="first b b-<?php echo $taxo->name; ?>"><a href="edit-tags.php?taxonomy=<?php echo $taxo->name; ?>"><?php echo count($terms); ?></a></td>
- The topic ‘Dashboard Custom Taxonomy Counts’ is closed to new replies.