File tree Expand file tree Collapse file tree
src/wp-content/themes/twentysixteen Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 <div class="site-header-main">
3737 <div class="site-branding">
3838 <?php twentysixteen_the_custom_logo (); ?>
39- <?php
39+ <?php
4040 $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
41-
41+
4242 if ( ! empty ( get_bloginfo ( 'name ' ) ) ) :
43- if ( is_front_page () && is_home () ) :
44- ?>
45- <h1 class="site-title"><a href="<?php echo esc_url ( home_url ( '/ ' ) ); ?> " rel="home" <?php echo $ is_front ? 'aria-current="page" ' : '' ; ?> ><?php bloginfo ( 'name ' ); ?> </a></h1>
46- <?php else : ?>
47- <p class="site-title"><a href="<?php echo esc_url ( home_url ( '/ ' ) ); ?> " rel="home" <?php echo $ is_front ? 'aria-current="page" ' : '' ; ?> ><?php bloginfo ( 'name ' ); ?> </a></p>
48- <?php
43+ if ( is_front_page () && is_home () ) :
44+ ?>
45+ <h1 class="site-title"><a href="<?php echo esc_url ( home_url ( '/ ' ) ); ?> " rel="home" <?php echo $ is_front ? 'aria-current="page" ' : '' ; ?> ><?php bloginfo ( 'name ' ); ?> </a></h1>
46+ <?php else : ?>
47+ <p class="site-title"><a href="<?php echo esc_url ( home_url ( '/ ' ) ); ?> " rel="home" <?php echo $ is_front ? 'aria-current="page" ' : '' ; ?> ><?php bloginfo ( 'name ' ); ?> </a></p>
48+ <?php
4949 endif ;
5050 endif ;
5151
You can’t perform that action at this time.
0 commit comments