Ticket #49438: h1-is_home.patch
File h1-is_home.patch, 511 bytes (added by , 5 years ago) |
---|
-
twentytwenty/inc/template-tags.php
old new 42 42 'title_class' => 'site-title', 43 43 'home_wrap' => '<h1 class="%1$s">%2$s</h1>', 44 44 'single_wrap' => '<div class="%1$s faux-heading">%2$s</div>', 45 'condition' => ( is_front_page() || is_home() ) && ! is_page(),45 'condition' => is_front_page() || ( is_home() && ! is_page() ), 46 46 ); 47 47 48 48 $args = wp_parse_args( $args, $defaults );