Skip to main content
4 events
when toggle format what by license comment
Apr 23, 2012 at 17:25 vote accept Scott B
Jan 18, 2012 at 18:06 comment added OleVik Could you try printing the get_cats()-function? The problem may be that $args = array('exclude' => array(get_cats()),'hide_empty' => 0 ); is not receiving a formatted array (ie; exclude=10,12,14), but just outputs the numbers in a bulk.
Jan 17, 2012 at 20:58 comment added Scott B Thanks OleVik, but I'm not using WP_Query, I'm using get_categories(). Its supposed to be able to take an exclude argument like so get_categories('exclude=1,2,3')
Jan 17, 2012 at 20:02 history answered OleVik CC BY-SA 3.0