Last change
on this file since 642 was
642,
checked in by toemon, 14 years ago
|
extras/my_themes をフッターサイドバー配置可能に修正
|
File size:
691 bytes
|
Rev | Line | |
---|
[642] | 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 | for($i=1;$i <= $side_bar_num;$i++){
|
---|
| 10 | $sidebar_id = 'footer-widget-area-'.$i;
|
---|
| 11 | echo "\t<div class=\"widget-area-type{$side_bar_num}\">\n";
|
---|
| 12 | echo "\t\t<div id=\"{$sidebar_id}\" class=\"widget-area\">\n";
|
---|
| 13 | echo "\t\t\t<ul class=\"xoxo\">\n";
|
---|
| 14 | dynamic_sidebar( $sidebar_id );
|
---|
| 15 | echo "\t\t\t\n</ul>\n";
|
---|
| 16 | echo "\t\t</div><!-- #{$sidebar_id} -->\n";
|
---|
| 17 | echo "\t</div><!-- .widget-area-type{$side_bar_num} -->\n";
|
---|
| 18 | }
|
---|
| 19 | echo "</div><!-- #footer-widget-area -->\n";
|
---|
| 20 | ?>
|
---|
Note: See
TracBrowser
for help on using the repository browser.