Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <header id="masthead" class="site-header">
- <div class="site-branding">
- <?php
- the_custom_logo();
- if ( is_front_page() && is_home() ) :
- ?>
- <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
- <?php
- else :
- ?>
- <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
- <?php
- endif;
- $eventtheme_description = get_bloginfo( 'description', 'display' );
- if ( $eventtheme_description || is_customize_preview() ) :
- ?>
- <p class="site-description"><?php echo $eventtheme_description; /* WPCS: xss ok. */ ?></p>
- <?php endif; ?>
- </div><!-- .site-branding -->
- <nav id="site-navigation" class="main-navigation">
- <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_html_e( 'Primary Menu', 'eventtheme' ); ?></button>
- <?php
- wp_nav_menu( array(
- 'theme_location' => 'menu-1',
- 'menu_id' => 'primary-menu',
- ) );
- ?>
- </nav><!-- #site-navigation -->
- </header><!-- #masthead -->
- ========================
- footer.php
- =================
- <footer id="colophon" class="site-footer">
- <div class="site-info">
- <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'eventtheme' ) ); ?>">
- <?php
- /* translators: %s: CMS name, i.e. WordPress. */
- printf( esc_html__( 'Proudly powered by %s', 'eventtheme' ), 'WordPress' );
- ?>
- </a>
- <span class="sep"> | </span>
- <?php
- /* translators: 1: Theme name, 2: Theme author. */
- printf( esc_html__( 'Theme: %1$s by %2$s.', 'eventtheme' ), 'eventtheme', '<a href="http://spinetheme.com">Salman Ahmed</a>' );
- ?>
- </div><!-- .site-info -->
- </footer><!-- #colophon -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement