Tag Info

Hot answers tagged

1

By default, get_terms will only return those tags that have some posts attached to them already. Try: $tags = get_terms( 'sizes', array( 'number' => 999, 'orderby' => 'count', 'order' => 'DESC', 'hide_empty' => false, ) ); The hide_empty parameter will override this behaviour. EDIT: I removed the 'taxonomy' parameter for ...



Only top voted, non community-wiki answers of a minimum length are eligible