source:
trunk/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php
@
176
Last change on this file since 176 was 125, checked in by toemon, 16 years ago | |
---|---|
File size: 313 bytes |
Line | |
---|---|
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.