Get Top Categories List WordPress

    Displays top 5 categories ordered by number of posts in a category, includes all parent and child categories. $args = array( 'type' => 'post', 'orderby' => 'count', // Orders the list by post …  read more