Adding another midrow block to Zenon Light?
-
Hi, I have the Zenon Light theme installed, but would like to add another midrow block to my theme. Zenon Light itself has 4, but I want 5.
I’ve added the following into the options.php
$options[] = array( "name" => __('Block 5 Heading', 'zenon'), "desc" => "", "id" => "block5_text", "std" => "Block 5 Heading", "type" => "text"); $options[] = array( "name" => __('Block 5 Text', 'zenon'), "desc" => "", "id" => "block4_textarea", "std" => "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam nec rhoncus risus. In ultrices lacinia ipsum.", "type" => "textarea");
And the following into the index.php:
<?php if ( of_get_option('block5_textarea') ) { ?> <div class="midrow_block"> <div class="mid_block_content"> <h3><?php echo of_get_option('block5_text'); ?></h3> <p><?php echo of_get_option('block5_textarea'); ?></p> </div> </div> <?php } ?>
But I’m not sure why the other block isn’t showing up. Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding another midrow block to Zenon Light?’ is closed to new replies.