'; if ( 'post' === get_post_type() ) : if ( has_category() ) : ?>
'all' ] ); if ( ! empty( $categories ) ) { foreach ( $categories as $category ) { echo '' . esc_html( $category->name ) . ''; } } ?>