forked from annecamille/rede_saude_cultura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
110 lines (96 loc) · 3.52 KB
/
functions.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
<?php
// functions added here will load IN ADDITION to functions from the parent theme's functions.php.
if ( function_exists ('register_sidebar')) {
/* Register the widget columns */
// Area 2, located in the homepage left column.
register_sidebar( array(
'name' => 'Left Sidebar',
'id' => 'left-sidebar',
'description' => 'The site left bar.',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widgettitle">',
'after_title' => '</h3>'
)
);
// Area 3, Bloco que ficará no HEADER.
register_sidebar( array(
'name' => 'Header Block',
'id' => 'header-block',
'description' => 'Bloco do topo do site.',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widgettitle-hb">',
'after_title' => '</h3>'
)
);
// Area 4, Bloco left que ficará na HOME.
register_sidebar( array(
'name' => 'Home Content Left',
'id' => 'home-content-left',
'description' => 'Bloco esquerdo da home.',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widgettitle-home">',
'after_title' => '</h3>'
)
);
// Area 5, Bloco right que ficará na HOME.
register_sidebar( array(
'name' => 'Home Content Right',
'id' => 'home-content-right',
'description' => 'Bloco direito da home.',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widgettitle-home">',
'after_title' => '</h3>'
)
);
// Area 6, Primeiro Bloco da HOME.
register_sidebar( array(
'name' => 'Home Content Top 01',
'id' => 'home-content-top-01',
'description' => 'Primeiro bloco do topo da home.',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h4 class="widgettitle-home">',
'after_title' => '</h4>'
)
);
// Area 7, Segundo Bloco da HOME.
register_sidebar( array(
'name' => 'Home Content Top 02',
'id' => 'home-content-top-02',
'description' => 'Segundo bloco do topo da home.',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h4 class="widgettitle-home">',
'after_title' => '</h4>'
)
);
// Area 8, Terceiro Bloco da HOME.
register_sidebar( array(
'name' => 'Home Content Top 03',
'id' => 'home-content-top-03',
'description' => 'Terceiro bloco do topo da home.',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h4 class="widgettitle-home">',
'after_title' => '</h4>'
)
);
// Area 9, Quarto Bloco da HOME.
register_sidebar( array(
'name' => 'Home Content Top 04',
'id' => 'home-content-top-04',
'description' => 'Quarto bloco do topo da home.',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h4 class="widgettitle-face">',
'after_title' => '</h4>'
)
);
}
// Desativa a barra lá de cima
define('BP_DISABLE_ADMIN_BAR', true);
?>