-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
119 lines (91 loc) · 4.24 KB
/
header.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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php do_action( 'bp_head' ) ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ) ?>" />
<link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/_inc/images/next-favicon.ico" type="image/x-icon">
<?php
if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
wp_head();
?>
<?php if (get_option("buddy_boss_custom_logo", FALSE)!= FALSE) {
$logo = get_option("buddy_boss_custom_logo");
} else {
$logo = get_bloginfo("template_directory")."/_inc/images/logo.jpg";
} ?>
<!-- Facebook OpenGraph Tags -->
<meta property="og:image" content="/_inc/images/avatar-group.jpg" />
<meta property="og:site_name" content="<?php bloginfo( 'name' ); ?>" />
<meta property="og:description" content="<?php bloginfo('description'); ?>" />
<!-- Facebook OpenGraph Tags -->
</head>
<div id="barras-governo">
<div id="barra-brasil">
<div class="barra">
<ul>
<li class="acesso"><a href="http://www.acessoainformacao.gov.br" class="ai" title="Acesso à informação">www.sic.gov.br</a></li>
<li><a href="http://www.brasil.gov.br" class="brasilgov" title="Portal de Estado do Brasil">www.brasil.gov.br</a></li>
</ul>
</div>
</div>
</div>
<body <?php body_class() ?> id="bp-default">
<!--[if lte IE 6]><script src="<?php bloginfo('template_directory'); ?>/_inc/js/ie6/warning.js"></script><script>window.onload=function(){e("<?php bloginfo('stylesheet_directory'); ?>/_inc/js/ie6/")}</script><![endif]-->
<?php do_action( 'bp_before_header' ) ?>
<div id="wrapper">
<div id="header">
<div class="padder">
<div id="menu-header">
<?php
wp_nav_menu( array(
'menu' => 'menu_header',
'theme_location' => 'menu_header',
'container' => 'div',
'container_class' => 'menu_header',
'container_id' => 'menu_header',
'menu_class' => 'lista_menu_header',
'echo' => true,
'menu_id' => 'menu_header',
'before' => '',
'after' => '|',
'link_before' => '',
'link_after' => '',
'depth' => 0,
'walker' => '',
) );
?>
</div>
<?php if($logo): ?>
<div id="logo">
<a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' )
?>"><img src="<?php echo $logo ?>" alt="Rede Internet e Saúde" title="Rede Internet e Saúde"/></a>
</div>
<div class="description"><?php bloginfo('description'); ?></div>
<?php endif; ?>
<h1 class="title"> <a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' )
?>"><?php bloginfo( 'name' ); ?></a></h1>
<!-- AQUI COMEÇA UM BLOQUINHO DE FOTO -->
<?php locate_template( array( 'header-bloco.php' ), true ) ?>
<ul class="sf-menu">
<?php if ( has_nav_menu( 'primary-menu' ) ) { ?>
<?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary-menu', 'items_wrap' => '%3$s' ) ); ?>
<?php } else { ?>
<?php wp_list_pages( 'title_li=&depth=3' . bp_dtheme_page_on_front() ); ?>
<?php } ?>
</ul>
</div><!-- .padder -->
<?php do_action( 'bp_header' ) ?>
</div><!-- #header -->
<?php do_action( 'bp_after_header' ) ?>
<?php do_action( 'bp_before_container' ) ?>
<?php if (function_exists('breadcrumbs_everywhere') && !is_front_page()) {
?> <div id="breadcrumb"><?php
breadcrumbs_everywhere();
?></div><?php
}
?>
<div id="container">