' . sprintf( __( 'Read More %1$s', 'executive' ), esc_attr( strip_tags( get_the_title() ) ) ) . ''; } endif; // executive_continue_reading_link /** * Replaces "[...]" (appended to automatically generated excerpts) with executive_continue_reading_link(). * * To override this in a child theme, remove the filter and add your own * function tied to the excerpt_more filter hook. */ function executive_auto_excerpt_more( $more ) { return executive_continue_reading_link(); } add_filter( 'excerpt_more', 'executive_auto_excerpt_more' ); /** * Adds a pretty "Continue Reading" link to custom post excerpts. * * To override this link in a child theme, remove the filter and add your own * function tied to the get_the_excerpt filter hook. */ function executive_custom_excerpt_more( $output ) { if ( has_excerpt() && ! is_attachment() ) { $output .= executive_continue_reading_link(); } return $output; } add_filter( 'get_the_excerpt', 'executive_custom_excerpt_more' ); /** * Custom Logo */ if ( ! function_exists( 'executive_the_custom_logo' ) ) : /** * Displays the optional custom logo. * * Does nothing if the custom logo is not available. * * @since executive 1.0.2 */ function executive_the_custom_logo() { if ( function_exists( 'the_custom_logo' ) ) { the_custom_logo(); } } endif;