source:
trunk/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php
@
125
Last change on this file since 125 was 125, checked in by toemon, 15 years ago | |
---|---|
File size: 313 bytes |
Rev | Line | |
---|---|---|
[125] | 1 | <?php |
2 | function sidebar_block($options) | |
3 | { | |
4 | $templates = array(); | |
5 | $templates[] = "sidebar.php"; | |
6 | $sidebar_path = locate_template($templates, false); | |
7 | ob_start(); | |
8 | require($sidebar_path); | |
9 | $output = ob_get_contents(); | |
10 | ob_end_clean(); | |
11 | $block['sidebar'] = $output; | |
12 | return $block ; | |
13 | ||
14 | } | |
15 | ||
16 | ?> |
Note: See TracBrowser
for help on using the repository browser.