public
Created

This is a snippit from the top of the functions.php file for the Titanium theme from iThemes (lines 4-6).

  • Download Gist
modified-functions.php
PHP
1 2 3 4 5
<?php
 
register_sidebar(array('name'=>'Homepage Left Blue Box','before_widget' => '<div id="%1$s" class="widget %2$s">','after_widget' => '</div>','before_title' => '<h4>','after_title' => '</h4>',));
register_sidebar(array('name'=>'Homepage Right Blue Box','before_widget' => '<div id="%1$s" class="widget %2$s">','after_widget' => '</div>','before_title' => '<h4>','after_title' => '</h4>',));
register_sidebar(array('name'=>'Right Sidebar','before_widget' => '<div id="%1$s" class="widget %2$s">','after_widget' => '</div>','before_title' => '<h4>','after_title' => '</h4>',));
original-functions.php
PHP
1 2 3 4 5
<?php
 
register_sidebar(array('name'=>'Homepage Left Blue Box','before_widget' => '<div class="widget">','after_widget' => '</div>','before_title' => '<h4>','after_title' => '</h4>',));
register_sidebar(array('name'=>'Homepage Right Blue Box','before_widget' => '<div class="widget">','after_widget' => '</div>','before_title' => '<h4>','after_title' => '</h4>',));
register_sidebar(array('name'=>'Right Sidebar','before_widget' => '<div class="widget">','after_widget' => '</div>','before_title' => '<h4>','after_title' => '</h4>',));

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.