*/ $use_excerpts = get_theme_mod( 'canuck_use_excerpts', false ); ?>
'; } ?>

%2$s
', esc_url( get_permalink( get_the_ID() ) ), esc_html__( 'Read More', 'canuck' ) ); } else { the_excerpt(); } } else { $content = get_the_content(); $args = array( 'type' => 'audio', 'split_media' => 'true', ); $embed_audio = canuck_media_grabber_audio( $args ); $content = str_replace( $embed_audio, '', $content ); $content = apply_filters( 'the_content', $content ); echo wp_kses_post( $content ); } ?>
%2$s
', esc_url( get_permalink( get_the_ID() ) ), esc_html__( 'Read More', 'canuck' ) ); } else { $trim_words = get_theme_mod( 'canuck_excerpt_length', 30 ); $more = '…
' . __( 'Read More', 'canuck' ) . '
'; $content = get_the_content(); $content = canuck_strip_extracted_quote( $content ); $content_trimmed = wp_trim_words( $content, $trim_words, $more ); $excerpt = apply_filters( 'the_excerpt', $content_trimmed ); echo wp_kses_post( $excerpt ); } } else { $content = get_the_content(); $content = canuck_strip_extracted_quote( $content ); $content = apply_filters( 'the_content', $content ); echo wp_kses_post( $content ); } } else { if ( true === $use_excerpts && ! is_single() ) { if ( has_excerpt() ) { the_excerpt(); printf( '
%2$s
', esc_url( get_permalink( get_the_ID() ) ), esc_html__( 'Read More', 'canuck' ) ); } else { the_excerpt(); } } else { the_content( esc_html__( 'Read more','canuck' ) ); } }// End if(). canuck_post_meta_pages(); } else { echo get_the_password_form(); // XSS OK. }// End if(). ?>