07/01/2015 at 8:52 am
#339270
Keymaster
@ Brian
Line 43 should be the correct line to paste the code on to get it to display above the name. Pasting it on that line you would not need the opening and closing php tags though, just this:
$entry->getCategoryBlock( array( 'separator' => ', ', 'before' => '<span>', 'after' => '</span>' ) );
Id did forget about the CSS you would need… you need to define the size and line height otherwise it will not show.
#cn-gridder .cn_category_label,
#cn-gridder .cn_category {
line-height: 18px;
font-size: 16px;
font-weight: normal;
}
Hope that helps.