$myCount = $wp_query->found_posts;. That will return the number of posts found for the last query. If you want to count the number of posts for each category, ...
確定! 回上一頁