Advertisement
Guest User

header

a guest
Jan 28th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <?php wp_head();?>
  5. <!-- Required meta tags -->
  6. <meta charset="utf-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  8. <!--Nano Bar-->
  9.  
  10. <script src="https://cdnjs.cloudflare.com/ajax/libs/nanobar/0.4.2/nanobar.min.js" crossorigin="anonymous"></script>
  11.  
  12.  
  13.  
  14. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
  15. <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"> </script>
  16.  
  17. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
  18. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  19.  
  20.  
  21.  
  22. <!--Font awsome-->
  23. <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
  24. <title><?php wp_title();?></title>
  25. </head>
  26. <body>
  27.  
  28.  
  29. <!--Audio Player Test-->
  30. <figure>
  31. <audio id="player"
  32. controls
  33. src="sound/audio.mp3">
  34. </audio>
  35. </figure>
  36.  
  37. <!--Audio Player Test-->
  38.  
  39.  
  40. <div class="accordion" id="callapseMenu">
  41. <div class="fixed-top white-bg" id="general-header">
  42. <div id ="stream-bar-component" class="navbar stream-bar b-bottom">
  43. <div class="container-fluid no-pad">
  44.  
  45. <div class="bar-controls">
  46. <button id="live-button" class="stream-button">
  47. <img class="play-icon" src="<?php echo get_theme_file_uri('/img/icons/play.svg'); ?> "/>
  48. <img class="stop-icon invisible" src="<?php echo get_theme_file_uri('/img/icons/stop.svg'); ?>"/>
  49.  
  50. <span class="radio-text">Tune Now</span>
  51. <span class="pulsate-css invisible"></span>
  52. </button>
  53.  
  54. </div>
  55. <a href="<?php echo get_home_url();?>">
  56. <div class="bar-radio-info mx-auto">
  57.  
  58. <img class="desktop-logo d-none d-lg-block" src="<?php echo get_theme_file_uri('/img/logo/logo-5.svg');?>"/>
  59. <img class="mobile-logo d-lg-none" src="<?php echo get_theme_file_uri('/img/logo/logo-7.svg'); ?>"/>
  60. </div>
  61. </a>
  62. <div class="info">
  63. <a id="infoLink" class="d-none d-lg-block" data-toggle="collapse" href="#collapseInfo" role="button" aria-expanded="false" aria-controls="collapseInfo">
  64. info </a>
  65.  
  66.  
  67. <a id ="mobile-toggler" class="d-lg-none " type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
  68. <img class="burger-icon"src="<?php echo get_theme_file_uri('/img/icons/menu.svg');?>">
  69. <img class="burger-icon-close invisible" src="<?php echo get_theme_file_uri('/img/icons/close.svg');?>">
  70.  
  71. </a>
  72. </div>
  73. </div>
  74.  
  75. </div>
  76.  
  77. <nav id="menu-bar-component" class="navbar navbar-expand-lg mobile-pad">
  78.  
  79.  
  80. <div class="collapse navbar-collapse" id="navbarNavDropdown">
  81.  
  82. <ul class="navbar-nav">
  83. <li class="nav-item">
  84. <a id ="searchCollapse" class="nav-link"data-toggle="collapse" href="#searchForm" role="button" aria-expanded="false" aria-controls="searchForm"><img src="<?php echo get_theme_file_uri('/img/icons/search.svg'); ?>"/></a>
  85. </li>
  86.  
  87.  
  88. <li class="nav-item">
  89. <a class="nav-link" href="#schedule-anchor">Schedule</a>
  90. </li>
  91. <?php
  92. $menuLocations = get_nav_menu_locations(); // Get our nav locations (set in our theme)
  93.  
  94. $menuID = $menuLocations['primary']; // Get the *primary* menu ID
  95. $primaryNav = wp_get_nav_menu_items($menuID); // Get the array of wp objects, the nav items for our queried location.
  96. $categoriest=array();
  97. ?>
  98. <?php foreach ( $primaryNav as $navItem ) {
  99.  
  100. echo '<li class="nav-item">
  101. <a id ="'.$navItem->title.'Link" class="nav-link"data-toggle="collapse" href="#collapse'.$navItem->title.'" role="button" aria-expanded="false" aria-controls="collapse'.$navItem->title.'"><i class="fa fa-caret-right fa-rotate-90"></i>'.$navItem->title.' </a>
  102. </li>' ;
  103. } ?>
  104.  
  105.  
  106.  
  107. <li class="nav-item d-lg-block">
  108. <a id ="manifestoLink2" class="nav-link" data-toggle="collapse" href="#collapseManifesto" role="button" aria-expanded="false" aria-controls="collapseManifesto"><i class="fa fa-caret-right fa-rotate-90"></i>Manifesto [About]</a>
  109. </li>
  110. </ul>
  111. </div>
  112. </nav>
  113.  
  114. <!--Collapse info-->
  115. <div class="collapse " id="collapseInfo" aria-labelledby="infoLink" data-parent="#callapseMenu">
  116. <div class="container-fluid">
  117. <div class="row b-top b-bottom">
  118. <div class="col-lg-12">
  119. <div class="info-text">
  120. Movement.Archive.Radio s an international online radio station based in Athens that explores concepts of presence and motion focused mainly in the area of the Mediterranean Basin through myths of exodus and exile, cross-cultural interactions, political and theoretical discourses and reflections on living in or after movement
  121. </div>
  122.  
  123. </div>
  124. </div>
  125. <div class="row b-bottom">
  126.  
  127. <div class="col-12 col-md-4 col-lg-4 social-style">
  128. <a href="#" class="social-link">
  129. Instagram
  130. </a>
  131. </div>
  132. <div class="col-12 col-md-4 col-lg-4 social-style">
  133. <a href="#" class="social-link">
  134. Facebook
  135. </a>
  136. </div>
  137. <div class="col-12 col-md-4 col-lg-4 social-style">
  138. <a href="#" class="social-link">
  139. Twitter
  140. </a>
  141. </div>
  142. </div>
  143.  
  144.  
  145. </div>
  146.  
  147. </div>
  148. <!--Collapse info-->
  149.  
  150.  
  151. <!--Collapse Search-->
  152. <div class="collapse " id="searchForm" aria-labelledby="searchCollapse" data-parent="#callapseMenu">
  153. <div class="container-fluid">
  154. <div class="row b-top">
  155. <div class="col-lg-12">
  156.  
  157. <?php get_search_form();?>
  158.  
  159. </div>
  160. </div>
  161. </div>
  162.  
  163. </div>
  164. <!--Collapse Search-->
  165.  
  166. <!--Collapse Artists-->
  167.  
  168. <?php foreach ( $primaryNav as $navItem ) {
  169. $catname=$navItem->title;
  170. $catId=get_cat_ID($catname);
  171.  
  172. //get subcategries
  173. $subcategories = get_categories( array(
  174. "order_by" => "name",
  175. "parent" => $catId,
  176. "hide_empty" =>0
  177. ) );
  178.  
  179.  
  180.  
  181.  
  182. echo '
  183. <div class="collapse fade-in-bottom" id="collapse'.$navItem->title.'" aria-labelledby="'.$navItem->title.'Link" data-parent="#callapseMenu">
  184. <div class="dropdown-inhalt">
  185. <div class="container-fluid">
  186. <div class="row sticky-top white-bg offset-header-menu b-bottom b-top">
  187. <div class="col-lg-12 module-dark">
  188. <div class="header-menu">
  189. '.$navItem->title.'
  190. </div>
  191. </div>
  192. </div>
  193. <div class="row">
  194. ';
  195. foreach($subcategories as $category) {
  196.  
  197. $sublink = get_category_link($category->term_id);
  198.  
  199.  
  200.  
  201. echo ' <div class="col-12 col-md-6 col-lg-4 col-xl-3 artists-style">
  202. <a href="'.$sublink.' " class="artists-link">
  203. '.$category->name.'
  204. </a>
  205. </div>'
  206. ;}
  207. echo '
  208. </div>
  209. </div>
  210. </div>
  211. </div>';
  212.  
  213. } ?>
  214.  
  215.  
  216.  
  217. <div class="collapse b-bottom" id="collapseManifesto" aria-labelledby="manifestoLink" data-parent="#callapseMenu">
  218. <div class="manifesto fade-in-bottom">
  219. <div class="container-fluid">
  220. <div class="row sticky-top white-bg offset-header-menu b-bottom b-top">
  221. <div class="col-lg-12 module-dark">
  222. <div class="header-menu">
  223. Movement/Archive/Radio
  224. </div>
  225.  
  226. </div>
  227. </div>
  228. <div class="manifesto-text">
  229. <p>
  230. <span class="highlight">Movement/Archive/Radio</span> is an international online radio station based in Athens that
  231. explores concepts of presence and motion focused mainly in the area of the Mediterranean
  232. Basin through myths of exodus and exile, cross-cultural interactions, political and theoretical
  233. discourses and reflections on living in or after movement.
  234. </p><p>
  235. Movement/Archive/Radio acts like a data center/memory bank for the Movement Festival.
  236. Over ten days, on a 24-hour-basis, it will feature a continuous broadcast of commissioned
  237. pieces, thematic mixtapes, audio documentations, testimonies of migration itinerancy,
  238. narratives, interviews and DJ sets.
  239. </p>
  240. <p>
  241. The Movement’s pop-up radio station aims to move the Festival beyond the event's temporal
  242. and spatial borders and runs on February 13 - 23, 2020 in a reactivated building in the
  243. Merchants' Arcade in the center of Athens. At its core, Movement/Archive/Radio is a sonic
  244. agent broadcasting sounds, tonalities, noises, echoes and reverberations, words, thoughts and
  245. ideas, a sonicly perceived museum, an archipelago imaginary, mapping communities and
  246. sounds in movement.
  247. </p>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. </div>
  254. <!--end accordion-->
  255.  
  256.  
  257. <?php
  258. /*
  259. if( wp_script_is( 'nano', 'registered' ) ) {
  260. echo "yessss";
  261. }
  262.  
  263. else{
  264.  
  265. echo "nooooo";
  266. }
  267. */
  268.  
  269. ?>
  270.  
  271.  
  272. <div id="timoscontent">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement