%2$s', esc_url( get_permalink( get_the_ID() ) ), /* translators: %s: Name of current post */ sprintf( esc_html__( 'Continue reading %s', 'penscratch-2' ), '' . get_the_title( get_the_ID() ) . '' ) ); return ' … ' . $link; } add_filter( 'excerpt_more', 'penscratch_2_excerpt_more' ); endif; /** * Add a pingback url auto-discovery header for singularly identifiable articles. */ function penscratch_2_pingback_header() { if ( is_singular() && pings_open() ) { echo ''; } } add_action( 'wp_head', 'penscratch_2_pingback_header' );