-
Notifications
You must be signed in to change notification settings - Fork 0
/
header-single.php
94 lines (85 loc) · 4.26 KB
/
header-single.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="//use.typekit.net/rha7jnl.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.truncate.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquerycyclelite.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/myScripts.js?v=3"></script>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/style.css?v=3.1" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/home.css" type="text/css" media="screen">
<title><?php wp_title('«', true, 'right'); ?><?php bloginfo('name'); ?></title>
<?php wp_head(); ?>
<?php require "mySilktideCookieConsent.php"; ?>
</head>
<body <?php body_class('sans '); ?>>
<!--<div id="myTopStripeContainer" class="relative text-outer">
<div class="">
<div id="myTopStripe" class="">
<div class="floatRight" style="/*height: 40px;*/ ">
<ul id="mySidebar5" class=" sideBarLiContent" style="/*display: table-cell; vertical-align: middle; height: 40px*/">
<?php dynamic_sidebar(5); ?>
</ul>
</div>
</div>
</div>
</div>-->
<div id="myTopSocialContainer" class="relative text-outer" style="background-color: #648AAA;">
<div class="mySocialStripeMenu" style="display: flex; justify-content: space-between; align-items: center; height: 65px;">
<a class="font-size-3 hide-title" href="<?php echo home_url(); ?>" style="font-weight: bold;">LUD Literatura</a>
<div style="display: flex; justify-content: space-between; align-items: center; gap: 20px;">
<div style="list-style: none; position: sticky;">
<?php dynamic_sidebar('newlit-iskanjesitewide-widget'); ?>
</div>
<div style="display: inline-block;"> <!-- kličejo se podobne kot za true liquid block inner css class-->
<?php wp_nav_menu(array( 'container_class' => 'menu-social-container font-size-1', 'theme_location' => 'menu_social', 'menu_class' => 'menu za socialna omrezja social-icons' ) ); ?>
</div>
</div>
</div>
</div>
<div id="myTopStripeContainer" class="relative text-outer" style="background-color: white;">
<div class="myTopStripeMenu">
<div id="myTopStripe" class="newlit-css-transition-hide show-when-touched font-size-3">
<div class="center center-margins show-only-on-small-screen font-size-3" style="line-height: 3em">
<a class="font-size-2 light" href="<?php echo home_url(); ?>">LUD Literatura</a>
<i class="touch-to-show fa fa-bars"></i>
</div>
<?php wp_nav_menu( array( 'container_class' => 'menu-menu-ena-container font-size-1', 'theme_location' => 'menu_one', 'menu_class' => 'menu clearfix' ) ); ?>
</div>
</div>
</div>
<div id="container" class="clearfix">
<!--
<div id="myTopStripe">
<h1 class="" style=""><a id="topStripeLink" href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><img src="<?php bloginfo('template_url'); ?>/ludlitlogo.gif"></a></h1><p><?php echo get_bloginfo('description'); ?></p>
</div>
-->
<?php //get_template_part('slide', 'knjige'); ?>
<?php
$queryTax = $wp_query->query_vars['taxonomy'];
$queryTerm = $wp_query->query_vars['term'];
if ($queryTax == "zbirka" and isset($queryTerm)) {
$series = $queryTerm;
}
?>
<!--
<div id="booksMenu" class="float">
<div style="padding: 10px">
<div id="sideBarDivRight" class="">
<ul id="mySidebar4" class="sideBarLiContent">
<li class="widget" id="recentIssuesContainer">
<h2 class="widgettitle">Vsi naslovi <?php echo ($queryTerm ? " zbirke" : "");?></h2>
<?php //myTitlesList($series); ?>
</li>
<li class="widget" class="recentIssuesContainer">
<h2 class="widgettitle">Vsi avtorji knjig</h2>
<?php //myAuthorsList("avtor knjig") ?>
</li>
</ul>
</div>
</div>
</div>
<div style="clear: both; height: 0px"></div>
-->