'
' . ' ' . '
', 'email' => '
' . '
', 'url' => '
' . '
', ); return $fields; } add_filter( 'comment_form_defaults', 'flat_responsive_comment_form' ); function flat_responsive_comment_form( $args ) { $args['comment_field'] = '
'; return $args; } if ( ! function_exists( 'wp_body_open' ) ) : /** * Shim for sites older than 5.2. * * @link https://core.trac.wordpress.org/ticket/12563 */ function wp_body_open() { do_action( 'wp_body_open' ); } endif; /** * Add a pingback url auto-discovery header for single posts, pages, or attachments. */ function flat_responsive_pingback_header() { if ( is_singular() && pings_open() ) { printf( '', esc_url( get_bloginfo( 'pingback_url' ) ) ); } } add_action( 'wp_head', 'flat_responsive_pingback_header' ); function flat_responsive_customize_archive_title( $title ) { if ( is_category() ) { $title = single_cat_title( '', false ); } elseif ( is_tag() ) { $title = single_tag_title( '', false ); } elseif ( is_author() ) { $title = '' . get_the_author() . '' ; } elseif ( is_tax() ) { $title = sprintf( '%s', single_term_title( '', false ) ); } elseif (is_post_type_archive()) { $title = post_type_archive_title( '', false ); } return $title; } add_filter( 'get_the_archive_title', 'flat_responsive_customize_archive_title' );