Custom Taxonomy Name on Single Page

PHOTO EMBED

Mon Oct 30 2023 10:33:36 GMT+0000 (Coordinated Universal Time)

Saved by @gshailesh27 ##multiselect ##jqueryfilter ##jquerycardfilter

    <?php 
$terms = wp_get_object_terms($post->ID, 'journal_year', array('orderby' => 'term_id', 'order' => 'ASC') );
    if ( !empty( $terms ) ) :
    $project = array();
    foreach ( $terms as $term ) {
        $project[] = $term->name;
}
    echo '<span>'.$project[0].'</span>';
    // echo '<h2>'.$project[1].'</h2>';
    endif;
    ?>
    </h3>
content_copyCOPY