Timeline for Get the child category ID of current category
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 30, 2015 at 20:07 | comment | added | Milo |
You can check if $terms is empty , there are no child terms.
|
|
Oct 30, 2015 at 20:02 | comment | added | Rain Man | nice, it worked :) one quick question, is it possible to test if we are in the last category so instead of linking to category we link to post? | |
Oct 30, 2015 at 20:01 | vote | accept | Rain Man | ||
Oct 30, 2015 at 20:01 | comment | added | Milo |
$term_ids is already an array, no need to wrap it in array() .
|
|
Oct 30, 2015 at 20:00 | comment | added | Rain Man | so something like this ? | |
Oct 30, 2015 at 19:54 | history | answered | Milo | CC BY-SA 3.0 |