XPressME Integration Kit

Trac

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, 16 years ago

サイドバーの追加 と アーカイブブロックの修正 #74 bump Ver0.11

File size: 313 bytes
Line 
1<?php
2function 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.