Skip to content

Commit

Permalink
Made all sections of the sidebar (so long as there is SOME content) o…
Browse files Browse the repository at this point in the history
…ptional.
  • Loading branch information
samwilson committed Mar 30, 2011
1 parent 0166e5b commit cc53777
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions TwentyTen.php
Expand Up @@ -106,10 +106,6 @@ function execute() {
<ul class="xoxo">

<?php $sidebar = $this->data['sidebar'];
if ( !isset( $sidebar['LOGO'] ) ) $sidebar['LOGO'] = true;
if ( !isset( $sidebar['SEARCH'] ) ) $sidebar['SEARCH'] = true;
if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true;
if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true;
foreach ($sidebar as $boxName => $cont) {
if ( $boxName == 'SEARCH' ) {
$this->searchBox();
Expand Down

0 comments on commit cc53777

Please sign in to comment.