boom 19 $categories = get_the_category(); $separator = ' '; $output = ''; if ( ! empty( $categories ) ) { foreach( $categories as $category ) { $output .= '' . esc_html( $category->name ) . '' . $separator; } echo ' « ' . trim( $output, $separator ); } ?> afbeelding tekst boom 19