-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
137 lines (136 loc) · 4.43 KB
/
Copy pathheader.php
File metadata and controls
137 lines (136 loc) · 4.43 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js" >
<!-- start -->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="format-detection" content="telephone=no">
<?php wp_head();?>
</head>
<!-- start body -->
<body <?php body_class(); ?> >
<!-- start header -->
<!-- fixed menu -->
<?php
?>
<?php if(fashy_globals('display_scroll')) { ?>
<div class="pagenav fixedmenu">
<div class="holder-fixedmenu">
<div class="logo-fixedmenu">
<?php if(fashy_globals('scroll_logo')){ ?>
<a href="<?php echo esc_url(home_url('/')); ?>"><img src="<?php echo esc_url(fashy_data('scroll_logo')); ?>" data-rjs="3" alt="<?php esc_html(bloginfo('name')); ?> - <?php esc_html(bloginfo('description')) ?>" ></a>
<?php } ?>
</div>
<div class="menu-fixedmenu home">
<?php
if ( has_nav_menu( 'fashy_scrollmenu' ) ) {
wp_nav_menu( array(
'container' =>false,
'container_class' => 'menu-scroll',
'theme_location' => 'fashy_scrollmenu',
'echo' => true,
'fallback_cb' => 'fashy_fallback_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'depth' => 0,
'walker' => new fashy_Walker_Main_Menu())
);
}
?>
</div>
</div>
</div>
<?php } ?>
<header>
<!-- top bar -->
<?php if(fashy_globals('top_bar')) { ?>
<div class="top-wrapper">
<div class="top-wrapper-content">
<div class="top-left">
<?php if(is_active_sidebar( 'fashy_sidebar-top-left' )) { ?>
<?php dynamic_sidebar( 'fashy_sidebar-top-left' ); ?>
<?php } ?>
</div>
<div class="top-right">
<?php if(is_active_sidebar( 'fashy_sidebar-top-right' )) { ?>
<?php dynamic_sidebar( 'fashy_sidebar-top-right' ); ?>
<?php } ?>
</div>
</div>
</div>
<?php } ?>
<div id="headerwrap">
<!-- logo and main menu -->
<div id="header">
<div class="header-image">
<!-- respoonsive menu main-->
<!-- respoonsive menu no scrool bar -->
<div class="respMenu noscroll">
<div class="resp_menu_button"><i class="fa fa-list-ul fa-2x"></i></div>
<?php
if ( has_nav_menu( 'fashy_respmenu' ) ) {
$menuParameters = array(
'theme_location' => 'fashy_respmenu',
'walker' => new fashy_Walker_Responsive_Menu(),
'echo' => false,
'container_class' => 'menu-main-menu-container',
'items_wrap' => '<div class="event-type-selector-dropdown">%3$s</div>',
);
echo strip_tags(wp_nav_menu( $menuParameters ), '<a>,<br>,<div>,<i>,<strong>' );
}
?>
</div>
<!-- logo -->
<?php if(fashy_data('logo_position') == 1 ){
fashy_logo();
} ?>
</div>
<!-- main menu -->
<div class="pagenav">
<div class="pmc-main-menu">
<?php
if ( has_nav_menu( 'fashy_mainmenu' ) ) {
wp_nav_menu( array(
'container' =>false,
'container_class' => 'menu-header home',
'menu_id' => 'menu-main-menu-container',
'theme_location' => 'fashy_mainmenu',
'echo' => true,
'fallback_cb' => 'fashy_fallback_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'depth' => 0,
'walker' => new fashy_Walker_Main_Menu()));
} ?>
</div>
</div>
<?php if(fashy_data('logo_position') == 2){
fashy_logo();
} ?>
</div>
</div>
</header>
<?php
if(function_exists( 'putRevSlider')){
if(fashy_globals('rev_slider') && is_front_page() ){ ?>
<div id="fashy-slider-wrapper">
<div id="fashy-slider">
<?php putRevSlider(fashy_data('rev_slider'),"homepage") ?>
</div>
</div>
<?php } ?>
<?php } ?>
<?php
if(is_front_page() && fashy_globals('use_categories')){ ?>
<?php fashy_block_one(); ?>
<?php } ?>
<?php if(is_front_page() && fashy_globals('use_block2') ){ ?>
<?php fashy_block_two(); ?>
<?php } ?>
<?php if(is_front_page()){ ?>
<?php fashy_custom_layout(); ?>
<?php } ?>