get_settings_for_display(); ?>
/ '; $output = ''; $count = count($categories); if ( ! empty( $categories ) ) { foreach( $categories as $index => $category ) { $output .= '' . esc_html( $category->name ) . ''; // Add separator if not the last iteration if ($index < $count - 1) { $output .= $separator; } } echo wp_kses_post($output); } ?>