Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The header for our theme
- *
- * This is the template that displays all of the <head> section and everything up until <div id="content">
- *
- * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
- *
- * @package Factorian
- */
- ?>
- <!DOCTYPE html>
- <html <?php language_attributes(); ?>>
- <head>
- <meta charset="<?php bloginfo( 'charset' ); ?>">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="profile" href="http://gmpg.org/xfn/11">
- <?php wp_head(); ?>
- </head>
- <body <?php body_class(); ?>>
- <div id="page" class="site">
- <div class="header-area">
- <div class="container">
- <div class="row">
- <div class="col-md-4">
- <div class="site-logo"><a href="<?php echo esc_url(home_url('/')) ?>"><?php bloginfo('name') ?></a></div>
- </div>
- <div class="col-md-8">
- <div class="header-right-menu main-menu">
- <?php wp_nav_menu( array( 'theme_location' => 'menu-1', 'menu_id' => 'primary-menu' ) ); ?>
- </div>
- </div>
- </div>
- </div>
- </div>
- // Footer Codes
- <?php
- /**
- * The template for displaying the footer
- *
- * Contains the closing of the #content div and all content after.
- *
- * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
- *
- * @package Factorian
- */
- ?>
- <footer id="colophon" class="site-footer" role="contentinfo">
- <div class="container">
- <?php if(is_active_sidebar('factorian-footer-widgets')) : ?>
- <div class="row">
- <?php dynamic_sidebar('factorian-footer-widgets'); ?>
- </div>
- <?php endif; ?>
- </div>
- <div class="row">
- <div class="col-md-12">
- <div class="factorian-footer-bottom">
- <div class="container">
- <?php esc_html_e('© 2016 Your Site Name.','factorian-webrur') ?>
- </div>
- </div>
- </div>
- </div>
- </footer><!-- #colophon -->
- </div><!-- #page -->
- <?php wp_footer(); ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement