-
Notifications
You must be signed in to change notification settings - Fork 1
/
menu_section.php
executable file
·56 lines (52 loc) · 2.61 KB
/
menu_section.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
<?php global $smof_data; ?>
<!-- START NAVIGATION -->
<nav class="<?php if($smof_data['rnr_menu_style'] == "top"){ echo 'page_scroll'; } ?> navigation <?php echo $smof_data['rnr_menu_type']; ?> <?php if($smof_data['rnr_menu_type']!= 'transparent'){ echo 'sticky-nav'; } ?>">
<!-- START CONTAINER -->
<div class="container clearfix">
<div class="four columns">
<!-- START LOGO -->
<div class="logo large">
<?php if($smof_data['rnr_logo_url'] != "") { ?>
<a href="<?php echo home_url(); ?>/">
<img src="<?php echo $smof_data['rnr_logo_url']; ?>"
alt="<?php bloginfo('name'); ?>"
width="<?php echo $smof_data['rnr_logo_width']; ?>"
height="<?php echo $smof_data['rnr_logo_height'];?>"
/>
</a>
<?php } else { ?>
<h1><a href="<?php echo home_url(); ?>/"><?php bloginfo('name'); ?></a></h1>
<?php } ?>
</div>
<!-- END LOGO -->
</div><!-- END FOUR COLUMNS -->
<!-- BEGIN NAVIGATION SECTION -->
<div class="twelve columns">
<!-- START NAVIGATION MENU ITEMS -->
<?php
wp_nav_menu(array(
'theme_location' => 'main-menu',
'container' => '',
'fallback_cb' => 'show_top_menu',
'menu_class' => 'main-menu large nav sf-menu sf-js-enabled',
'menu_id' => 'nav',
'echo' => true,
'walker' => new description_walker(),
'depth' => 0
));
?>
<div id="social-nav">
<a href='#facebook'><img src="<?php echo get_template_directory_uri(); ?>/images/facebook.png" /></a>
<a href='#twitter'><img src="<?php echo get_template_directory_uri(); ?>/images/twitter.png" /></a>
<a href='#search'><img src="<?php echo get_template_directory_uri(); ?>/images/search.png" /></a>
</div>
<!-- END NAVIGATION MENU ITEMS -->
</div><!-- END TWELVE COLUMNS -->
</div><!-- END CONTAINER -->
<div id="secondary-nav">
<a href="#">MAIN - WOHO</a>
<img src="<?php echo get_template_directory_uri(); ?>/images/secondary-divider.png" />
<a href="#">WEST - TOWN 'N COUNTRY</a>
</div>
</nav>
<!-- END NAVIGATION -->