CountPost WordPress Custom Taxonomy

I do not know exactly what you mean, but I think you need something like this? $categories = get_terms( array( ‘taxonomy’ => ‘category’ ) ); if ( $categories ) { $output=””; foreach( $categories as $category ) { $output .= ‘<li title=”‘ . __( ‘View all’, ‘themename’ ) . ‘ ‘ . $category->count . ‘ ‘ … Read more

How to list “invisible” Auto Drafts?

try pasting this in your theme’s functions.php file add_filter( ‘parse_query’, ‘display_autosave_and_revisions’ ); function display_autosave_and_revisions( $query ) { global $pagenow,$typenow; if ( is_admin() && $pagenow == ‘edit.php’ && $typenow == “post”) { $query->query_vars[‘post_type’] = array(‘revision’,’post’); $query->query_vars[‘post_status’] = ‘any’; } }