Permalink
Browse files

add third and fourth example boxes

git-svn-id: http://plugins.svn.wordpress.org/scb-framework/trunk@600096 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information...
1 parent bed0827 commit e13a9c599c07197957c7b889f53bbc1416d5c2af @scribu committed Sep 17, 2012
Showing with 13 additions and 2 deletions.
  1. +13 −2 example.php
View
@@ -218,20 +218,31 @@ class Example_Boxes_Page extends scbBoxesPage {
function setup() {
$this->args = array(
'page_title' => 'scb Example Boxes',
+ 'columns' => 4
);
$this->boxes = array(
array( 'settings', 'Settings Box', 'normal' ),
array( 'right', 'Right Box', 'side' ),
+ array( 'third', 'Third Box', 'column3' ),
+ array( 'fourth', 'Fourth Box', 'column4' ),
);
}
function settings_box() {
- echo html( 'p', 'This is the settings box.' );
+ echo html( 'p', 'This is a settings box.' );
}
function right_box() {
- echo html( 'p', 'This is the box on the right.' );
+ echo html( 'p', 'This is a box on the right.' );
+ }
+
+ function third_box() {
+ echo html( 'p', 'This is a box in the third column.' );
+ }
+
+ function fourth_box() {
+ echo html( 'p', 'This is a box in the fourth column.' );
}
}

0 comments on commit e13a9c5

Please sign in to comment.