';
echo '
' . __( 'Published in', 'author' ) . '';
foreach ( $categories as $category ) {
// output category name linked to the archive
$output .= '
name ) ) . '">' . $category->cat_name . '' . $separator;
}
echo trim( $output, $separator );
echo "
";
}