Changeset 204 for trunk/wp-content
- Timestamp:
- May 7, 2009, 12:46:29 PM (16 years ago)
- Location:
- trunk/wp-content/themes/xpress_default/blocks
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_default/blocks/block_style.css
r165 r204 321 321 /*********** sidebar block ***************/ 322 322 .xpress_sidebar_block { 323 324 } 325 323 width:190px; 324 325 } 326 .xpress_sidebar_block h2 { 327 font-size:14px; 328 margin:5px 0 0; 329 padding:0; 330 } 326 331 /*********** widget block ***************/ 327 332 .xpress_widget_block { -
trunk/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php
r125 r204 8 8 require($sidebar_path); 9 9 $output = ob_get_contents(); 10 ob_end_clean(); 10 ob_end_clean(); 11 $pattern = '<div\s+id\s*=\s*["\']xpress_sidebar["\']\s*>'; 12 $output = preg_replace("/".$pattern."/s" , '<div class="xpress_sidebar_block">' , $output); 13 11 14 $block['sidebar'] = $output; 12 15 return $block ;
Note: See TracChangeset
for help on using the changeset viewer.