Skip to main content
7 events
when toggle format what by license comment
Jun 20, 2014 at 2:32 comment added Anshad Vattapoyil How can I call this? print_r(get_terms_by_post_typea(array('event','category','',array())); this one gives Warning: Invalid argument supplied for foreach() for the line foreach ($current_terms as $t){
Apr 10, 2011 at 11:03 history edited Gavin Hewitt CC BY-SA 3.0
Added the fix(es). But somehow it's still not working for me. The count still shows the incorrect value.; added 114 characters in body
Apr 10, 2011 at 10:58 comment added Gavin Hewitt @t31os: Ah yes, I was wondering how to add an addition. Didn't think of editing my question. Thanks!
Apr 10, 2011 at 10:06 comment added t31os Please don't add follow-ups as answers, unless you are specifically answering your own question, additions should instead be made to the original question.
Apr 9, 2011 at 14:25 comment added Bainternet I updated my answer with a term count fix.
Apr 9, 2011 at 13:34 comment added Bainternet That's a different story, but you can count when avoiding duplicates in the while loop.
Apr 9, 2011 at 11:45 history answered Gavin Hewitt CC BY-SA 3.0