How you can display all Groups and SUB-Groups in wordpress if your category getting posts also. I attempted but it's exhibiting groups that are getting a minimum of 1 publish inside a category . I wish to display groups that are getting posts also.
Begin to see the get_categories function, there's a parameter known as "hide_empty". For example:
<?php $cats = get_categories('hide_empty=0'); ?>