Single Post Template Functions

Get the date – always prints date even if on second post on same day. $post_id is optional if inside of posts loop. See Formatting_Date_and_Time for $format value.

<?php $date = get_the_date( $format, $post_id ); ?>

does not print date if displaying second post on same day in loop.

<?php the_date() ?>

List current post categories with separator between each:

<?php echo get_the_category_list( $separator, $parents, $post_id ); ?>

List current post custom taxonomies with separator between each:

<?php echo get_the_term_list( int $post_id, string $tax_name, string $before = '', string $sep = '',string $after =& '' ); ?>

List all categories as links to their own category page. See wp_list_categories/

<?php wp_list_categories( string|array $args = '' ); ?>

Next/Previous Post Link. See next_post_link also previous_post_link with same params.

<?php next_post_link( $format, $link, $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' ); ?>

Example:

<?php echo next_post_link(  '%link', 'Next >' ); ?>