Line | |
---|
1 | <?php
|
---|
2 | /**
|
---|
3 | * The Footer widget areas.
|
---|
4 | *
|
---|
5 | */
|
---|
6 | $side_bar_num = get_option('xpress_footer_sidebars_count');
|
---|
7 | if (empty($side_bar_num)) return;
|
---|
8 | // echo "<div id=\"footer-widget-area\" role=\"complementary\">\n";
|
---|
9 | echo "<div id=\"footer-widget-area\">\n";
|
---|
10 | for($i=1;$i <= $side_bar_num;$i++){
|
---|
11 | $sidebar_id = 'footer-widget-area-'.$i;
|
---|
12 | echo "\t<div class=\"widget-area-type{$side_bar_num}\">\n";
|
---|
13 | echo "\t\t<div id=\"{$sidebar_id}\" class=\"widget-area\">\n";
|
---|
14 | echo "\t\t\t<ul class=\"xoxo\">\n";
|
---|
15 | dynamic_sidebar( $sidebar_id );
|
---|
16 | echo "\t\t\t\n</ul>\n";
|
---|
17 | echo "\t\t</div><!-- #{$sidebar_id} -->\n";
|
---|
18 | echo "\t</div><!-- .widget-area-type{$side_bar_num} -->\n";
|
---|
19 | }
|
---|
20 | echo "</div><!-- #footer-widget-area -->\n";
|
---|
21 | ?>
|
---|
Note: See
TracBrowser
for help on using the repository browser.