View difference between Paste ID: E6FAvZSp and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | /*** HEADER AD WIDGET***/ |
2 | ||
3 | register_sidebars(1, | |
4 | ||
5 | array( | |
6 | ||
7 | 'name' => 'HeaderAd', | |
8 | ||
9 | 'before_widget' => '<li id="%1$s">', | |
10 | ||
11 | 'after_widget' => '</li>', | |
12 | ||
13 | 'before_title' => '<h3>', | |
14 | ||
15 | 'after_title' => '</h3>' | |
16 | ||
17 | ) | |
18 | ||
19 | ); | |
20 | ||
21 | function header_widget() { ?> | |
22 | ||
23 | <div id="header_widget_1"> | |
24 | ||
25 | <ul class="sidebar_list"> | |
26 | ||
27 | <?php thesis_default_widget(3); ?> | |
28 | ||
29 | </ul> | |
30 | ||
31 | </div> | |
32 | ||
33 | <?php } | |
34 | ||
35 | ||
36 | ||
37 | add_action('thesis_hook_header', 'header_widget', '1'); | |
38 | ||
39 | /*** HEADER WIDGET END***/ |