'nhsuk-card__img' ] ); else : $fallback = get_theme_mod( 'blog_fallback' ); if ( $fallback ) { echo wp_get_attachment_image( $fallback, 'thumbnail', false, [ 'class' => 'nhsuk-card__img' ] ); } endif; } ?>

start_date ); $event_date = date( 'd M Y', $event_date ); echo '(' . esc_html( $event_date ) . ')'; } ?>

' . get_the_author() . ''; } if ( ( 'latest-posts' === $parent_template_part ) && ( 0 !== $display_post_date ) ) { echo ''; } do_action( 'nightingale_before_archive_content' ); if ( 'latest-posts' === $parent_template_part ) { // this is the latest posts display with options. if ( 0 !== $display_post_content ) { // only do something if we actually selected to display content. if ( 'excerpt' === $display_full_post ) { // if we chose to display the excerpt, use the latest blocks excerpt length selection. add_filter( 'excerpt_length', function ( $length ) use ( $excerpt_length ) { return $excerpt_length; }, 10 ); the_excerpt(); } else { // otherwise, if we chose to display FULL content, then do so. the_content(); } } } else { // everything that isn't the latest posts block behaves as normal. the_excerpt(); } echo nightingale_read_more_posts( get_the_title(), get_the_permalink() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>