File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7979 <header id="branding">
8080 <hgroup>
8181 <?php
82- $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
83- $ site_name = get_bloginfo ( 'name ' );
82+ $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
83+ $ site_name = get_bloginfo ( 'name ' );
8484 $ site_description = get_bloginfo ( 'description ' );
85-
85+
8686 if ( $ site_name || $ site_description ) :
8787 ?>
8888 <?php if ( $ site_name ) : ?>
Original file line number Diff line number Diff line change 3333 <div class="site-branding">
3434 <?php
3535 twentyfifteen_the_custom_logo ();
36- $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
36+ $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
3737 $ site_name = get_bloginfo ( 'name ' );
3838
3939 if ( $ site_name && is_front_page () && is_home () ) :
4040 ?>
4141 <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>
4242 <?php elseif ( $ site_name ) : ?>
4343 <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>
44- <?php
44+ <?php
4545 endif ;
4646
47- $ description = get_bloginfo ( 'description ' , 'display ' );
48- if ( $ description || is_customize_preview () ) :
49- ?>
47+ $ description = get_bloginfo ( 'description ' , 'display ' );
48+ if ( $ description || is_customize_preview () ) :
49+ ?>
5050 <p class="site-description"><?php echo $ description ; ?> </p>
51- <?php
51+ <?php
5252 endif ;
53- ?>
53+ ?>
5454 <button class="secondary-toggle"><?php _e ( 'Menu and widgets ' , 'twentyfifteen ' ); ?> </button>
5555 </div><!-- .site-branding -->
5656 </header><!-- .site-header -->
Original file line number Diff line number Diff line change 5353 <?php
5454 $ site_name = get_bloginfo ( 'name ' );
5555 if ( $ site_name ) :
56- ?>
56+ ?>
5757 <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>
5858 <?php endif ; ?>
5959
Original file line number Diff line number Diff line change 1616
1717 <div class="site-branding-text">
1818 <?php
19- $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
19+ $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
2020 $ site_name = get_bloginfo ( 'name ' );
2121
2222 if ( $ site_name && is_front_page () ) :
Original file line number Diff line number Diff line change 3737 <div class="site-branding">
3838 <?php twentysixteen_the_custom_logo (); ?>
3939 <?php
40- $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
40+ $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
4141 $ site_name = get_bloginfo ( 'name ' );
4242
4343 if ( $ site_name && is_front_page () && is_home () ) :
Original file line number Diff line number Diff line change 6969 <div id="masthead">
7070 <div id="branding" role="banner">
7171 <?php
72- $ heading_tag = ( is_home () || is_front_page () ) ? 'h1 ' : 'div ' ;
73- $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
74- $ site_name = get_bloginfo ( 'name ' );
72+ $ heading_tag = ( is_home () || is_front_page () ) ? 'h1 ' : 'div ' ;
73+ $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
74+ $ site_name = get_bloginfo ( 'name ' );
7575 $ site_description = get_bloginfo ( 'description ' );
76-
76+
7777 if ( $ site_name || $ site_description ) :
7878 ?>
7979 <?php if ( $ site_name ) : ?>
Original file line number Diff line number Diff line change 3030 </a>
3131 <header id="masthead" class="site-header">
3232 <?php
33- $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
34- $ site_name = get_bloginfo ( 'name ' );
33+ $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
34+ $ site_name = get_bloginfo ( 'name ' );
3535 $ site_description = get_bloginfo ( 'description ' );
3636
3737 if ( $ site_name || $ site_description ) :
Original file line number Diff line number Diff line change 3737 <a class="screen-reader-text skip-link" href="#content"><?php _e ( 'Skip to content ' , 'twentytwelve ' ); ?> </a>
3838 <header id="masthead" class="site-header">
3939 <hgroup>
40- <?php
41- $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
42- $ site_name = get_bloginfo ( 'name ' );
40+ <?php
41+ $ is_front = ! is_paged () && ( is_front_page () || ( is_home () && ( (int ) get_option ( 'page_for_posts ' ) !== get_queried_object_id () ) ) );
42+ $ site_name = get_bloginfo ( 'name ' );
4343 $ site_description = get_bloginfo ( 'description ' );
44-
44+
4545 if ( $ site_name || $ site_description ) :
4646 ?>
4747 <?php if ( $ site_name ) : ?>
You can’t perform that action at this time.
0 commit comments