Been staring at code for hours and need your clarity...
I used CCTM last January to create CCT "players" for a team. At the time, Summarize Posts was in the process of being absorbed into CCTM, so I avoided it.
Each player has a page. There is also a players page that shows some brief stats for each player, headshot, link to their personal page.
Ran a bunch of updates today (WP 3.4.2, CCTM 9.6.1) and now my players page is blank.
According to Posts>Categories, I have 7 players created and categorized as "players" (category 14). But when I call:
<?php $args = array( 'category'=>14, 'numberposts'=>-1 ); $playerposts = get_posts( $args ); echo count($playerposts); ?>
I get "0".
When I change the category to '18' (regular news post), I get an accurate count.
Are CCTM categories the same as post categories? The above php worked prior to upgrade.
Thanks for any advice,