Advertisement
Guest User

Untitled

a guest
Feb 7th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4.  
  5. <meta charset="<?php bloginfo( 'charset' ); ?>">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8.  
  9. <title><?php wp_title( '-', true, 'right' ); ?></title>
  10.  
  11. <link rel="profile" href="http://gmpg.org/xfn/11" />
  12.  
  13. <?php if(get_theme_mod('sp_favicon')) : ?>
  14. <link rel="shortcut icon" href="<?php echo get_theme_mod('sp_favicon'); ?>" />
  15. <?php endif; ?>
  16.  
  17. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  18. <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
  19. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  20.  
  21. <?php wp_head(); ?>
  22.  
  23. </head>
  24.  
  25. <body <?php body_class(); ?>>
  26.  
  27. <div id="top-bar">
  28.  
  29. <div class="container">
  30.  
  31. <div id="navigation-wrapper">
  32. <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'main-menu', 'menu_class' => 'menu' ) ); ?>
  33. </div>
  34.  
  35. <div class="menu-mobile"></div>
  36.  
  37. <?php if(!get_theme_mod('sp_topbar_social_check')) : ?>
  38. <div id="top-social">
  39.  
  40. <?php if(get_theme_mod('sp_facebook')) : ?><a href="http://facebook.com/<?php echo get_theme_mod('sp_facebook'); ?>" target="_blank"><i class="fa fa-facebook"></i></a><?php endif; ?>
  41. <?php if(get_theme_mod('sp_twitter')) : ?><a href="http://twitter.com/<?php echo get_theme_mod('sp_twitter'); ?>" target="_blank"><i class="fa fa-twitter"></i></a><?php endif; ?>
  42. <?php if(get_theme_mod('sp_instagram')) : ?><a href="http://instagram.com/<?php echo get_theme_mod('sp_instagram'); ?>" target="_blank"><i class="fa fa-instagram"></i></a><?php endif; ?>
  43. <?php if(get_theme_mod('sp_pinterest')) : ?><a href="http://pinterest.com/<?php echo get_theme_mod('sp_pinterest'); ?>" target="_blank"><i class="fa fa-pinterest"></i></a><?php endif; ?>
  44. <?php if(get_theme_mod('sp_bloglovin')) : ?><a href="http://bloglovin.com/<?php echo get_theme_mod('sp_bloglovin'); ?>" target="_blank"><i class="fa fa-heart"></i></a><?php endif; ?>
  45. <?php if(get_theme_mod('sp_google')) : ?><a href="http://plus.google.com/<?php echo get_theme_mod('sp_google'); ?>" target="_blank"><i class="fa fa-google-plus"></i></a><?php endif; ?>
  46. <?php if(get_theme_mod('sp_tumblr')) : ?><a href="http://<?php echo get_theme_mod('sp_tumblr'); ?>.tumblr.com/" target="_blank"><i class="fa fa-tumblr"></i></a><?php endif; ?>
  47. <?php if(get_theme_mod('sp_youtube')) : ?><a href="http://youtube.com/<?php echo get_theme_mod('sp_youtube'); ?>" target="_blank"><i class="fa fa-youtube-play"></i></a><?php endif; ?>
  48. <?php if(get_theme_mod('sp_dribbble')) : ?><a href="http://dribbble.com/<?php echo get_theme_mod('sp_dribbble'); ?>" target="_blank"><i class="fa fa-dribbble"></i></a><?php endif; ?>
  49. <?php if(get_theme_mod('sp_soundcloud')) : ?><a href="http://soundcloud.com/<?php echo get_theme_mod('sp_soundcloud'); ?>" target="_blank"><i class="fa fa-soundcloud"></i></a><?php endif; ?>
  50. <?php if(get_theme_mod('sp_vimeo')) : ?><a href="http://vimeo.com/<?php echo get_theme_mod('sp_vimeo'); ?>" target="_blank"><i class="fa fa-vimeo-square"></i></a><?php endif; ?>
  51. <?php if(get_theme_mod('sp_linkedin')) : ?><a href="<?php echo get_theme_mod('sp_linkedin'); ?>" target="_blank"><i class="fa fa-linkedin"></i></a><?php endif; ?>
  52. <?php if(get_theme_mod('sp_rss')) : ?><a href="<?php echo get_theme_mod('sp_rss'); ?>" target="_blank"><i class="fa fa-rss"></i></a><?php endif; ?>
  53.  
  54. </div>
  55. <?php endif; ?>
  56.  
  57. <?php if(!get_theme_mod('sp_topbar_search_check')) : ?>
  58. <div id="top-search">
  59. <a href="#"><i class="fa fa-search"></i></a>
  60. </div>
  61. <div class="show-search">
  62. <?php get_search_form(); ?>
  63. </div>
  64. <?php endif; ?>
  65.  
  66. </div>
  67.  
  68. </div>
  69.  
  70. <header id="header">
  71.  
  72. <div class="container">
  73.  
  74. <div id="logo">
  75.  
  76. <?php if(!get_theme_mod('sp_logo')) : ?>
  77.  
  78. <?php if(is_front_page()) : ?>
  79. <h1><a href="<?php echo home_url(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/img/logo.png" alt="<?php bloginfo( 'name' ); ?>" /></a></h1>
  80. <?php else : ?>
  81. <h2><a href="<?php echo home_url(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/img/logo.png" alt="<?php bloginfo( 'name' ); ?>" /></a></h2>
  82. <?php endif; ?>
  83.  
  84. <?php else : ?>
  85.  
  86. <?php if(is_front_page()) : ?>
  87. <h1><a href="<?php echo home_url(); ?>"><img src="<?php echo get_theme_mod('sp_logo'); ?>" alt="<?php bloginfo( 'name' ); ?>" /></a></h1>
  88. <?php else : ?>
  89. <h2><a href="<?php echo home_url(); ?>"><img src="<?php echo get_theme_mod('sp_logo'); ?>" alt="<?php bloginfo( 'name' ); ?>" /></a></h2>
  90. <?php endif; ?>
  91.  
  92. <?php endif; ?>
  93.  
  94. </div>
  95.  
  96. </div>
  97.  
  98. </header>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement