I made a custom post type, say ‘movie’, using "custom type post UI" plugin, and linked it with built-in category. Both normal posts and custom type posts are in the same category. My question is that if it is possible to modify the existing counting function so that it counts the number of posts that does not have a post type 'movie', i.e., only counts normal posts.
For example, one of my category, say ‘hobby’, has 5 normal posts + 3 custom ‘movie’ posts. Then, in the category widget, I want to have something like ‘hobby (5)’, not ‘hobby (8)’. In short, If it is possible, I just want to add a function (like add_filter or add_action or etc...) in functions.php to resolve this problem.
Thank you in advance.