03/20/2017 at 9:25 am
#416197
Keymaster
@ Jennifer
The child_of
option will only work with a single category ID. You only option is to add the line twice, like this:
Like this:
if ( 'individual' !== $entry->getEntryType() ) {
$entry->getCategoryBlock( array( 'separator' => ', ', 'before' => '', 'after' => '', 'child_of' => 24 ) );
}
if ( 'individual' !== $entry->getEntryType() ) {
$entry->getCategoryBlock( array( 'separator' => ', ', 'before' => '', 'after' => '', 'child_of' => 21 ) );
}
Hope this helps!