Guest User

Untitled

a guest
Jul 21st, 2017
22
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>" charset="<?php bloginfo('charset'); ?>" />
  7. <meta name="generator" content="WordPress <?php bloginfo('version'); ?>"/>
  8. <!-- Theme Css -->
  9. <?php
  10. $hc_current_options = wp_parse_args( get_option('hc_pro_options', array() ), theme_data_setup());
  11. wp_head(); ?>
  12. </head>
  13. <body <?php body_class(); ?> >
  14. <!-- Wrapper -->
  15. <div id="wrapper">
  16. <!-- Header Section -->
  17. <div class="header_section">
  18. <div class="container">
  19. <!-- Logo & Contact Info -->
  20. <div class="row">
  21. <div class="col-md-12">
  22. <div class="hc_logo">
  23. <h1>
  24. <?php
  25. if(has_custom_logo())
  26. {
  27. // Display the Custom Logo
  28. the_custom_logo();
  29. }
  30. elseif($hc_current_options['upload_image_logo'])
  31. { ?>
  32.  
  33. <a href="<?php echo home_url( '/' ); ?>">
  34. <?php if($hc_current_options['hc_texttitle'] ==true)
  35. { echo get_bloginfo( ); }
  36. else if($hc_current_options['upload_image_logo']!='')
  37. { ?>
  38. <img src="<?php echo $hc_current_options['upload_image_logo']; ?>" style="height:<?php if($hc_current_options['height']!='') { echo $hc_current_options['height']; } else { "50"; } ?>px; width:<?php if($hc_current_options['width']!='') { echo $hc_current_options['width']; } else { "150"; } ?>px;" />
  39. <?php } else {
  40. if($hc_current_options['hc_stylesheet'] == 'default.css')
  41. {
  42. ?>
  43. <img src="<?php echo WEBRITI_TEMPLATE_DIR_URI; ?>../images/logo.png">
  44. <?php }
  45. elseif($hc_current_options['hc_stylesheet'] == 'red.css')
  46. {
  47. ?>
  48. <img src="<?php echo WEBRITI_TEMPLATE_DIR_URI; ?>../images/logo_red.png">
  49. <?php }
  50. elseif($hc_current_options['hc_stylesheet'] == 'green.css')
  51. {
  52. ?>
  53. <img src="<?php echo WEBRITI_TEMPLATE_DIR_URI; ?>../images/logo_green.png">
  54. <?php }
  55. elseif($hc_current_options['hc_stylesheet'] == 'pink.css')
  56. {
  57. ?>
  58. <img src="<?php echo WEBRITI_TEMPLATE_DIR_URI; ?>../images/logo_pink.png">
  59. <?php }
  60. elseif($hc_current_options['hc_stylesheet'] == 'blue.css')
  61. {
  62. ?>
  63. <img src="<?php echo WEBRITI_TEMPLATE_DIR_URI; ?>../images/logo_blue.png">
  64. <?php }
  65. elseif($hc_current_options['hc_stylesheet'] == 'orange.css')
  66. {
  67. ?>
  68. <img src="<?php echo WEBRITI_TEMPLATE_DIR_URI; ?>../images/logo_orange.png">
  69. <?php }
  70. elseif($hc_current_options['hc_stylesheet'] == 'cofy.css')
  71. {
  72. ?>
  73. <img src="<?php echo WEBRITI_TEMPLATE_DIR_URI; ?>../images/logo_cofy.png">
  74. <?php }
  75. elseif($hc_current_options['hc_stylesheet'] == 'golden.css')
  76. {
  77. ?>
  78. <img src="<?php echo WEBRITI_TEMPLATE_DIR_URI; ?>../images/logo_golden.png">
  79. <?php }
  80. }?>
  81. </a>
  82. <?php } else { ?>
  83. <h1><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo('name'); ?></a></h1>
  84. <?php
  85. $description = get_bloginfo( 'description', 'display' );
  86. if ( $description || is_customize_preview() ) : ?>
  87. <p class="site-description"><?php echo $description; ?></p>
  88. <?php endif; } ?>
  89. </h1>
  90. </div>
  91. </div>
  92.  
  93. </div>
  94. <!-- /Logo & Contact Info -->
  95. </div>
  96. </div>
  97. <!-- /Header Section -->
  98. <!-- Navbar Section -->
  99. <div class="navigation_section">
  100. <div class="container navbar-container">
  101. <nav class="navbar navbar-default" role="navigation">
  102. <div class="navbar-header">
  103. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  104. <span class="sr-only">Toggle navigation</span>
  105. <span class="icon-bar"></span>
  106. <span class="icon-bar"></span>
  107. <span class="icon-bar"></span>
  108. </button>
  109. </div>
  110. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  111. <?php
  112. wp_nav_menu( array(
  113. 'theme_location' => 'primary',
  114. 'container' => 'nav-collapse collapse navbar-inverse-collapse',
  115. 'menu_class' => 'nav navbar-nav',
  116. 'fallback_cb' => 'webriti_fallback_page_menu',
  117. 'walker' => new webriti_nav_walker()
  118. )
  119. );
  120. ?>
  121. </div>
  122. </nav>
  123. </div>
  124. </div><!-- /Navbar Section -->
RAW Paste Data