The support forums have a new home! Please visit All in One SEO Pack's new residence at Semper Plugins to purchase a support plan.
Topic RSS
1:50 am
September 6, 2010
Offlinehello i am using Calotropis wordpress theme. In this theme there is an option to add custom headers. I want to add in the header but i could not find in the header. Can you please help me to add?
here is the header of the theme:-
/**
* Functions to handle the custom header
*
* @package itx_themes
* @version 2.0.1
*/
function itx_header(){
extract(itx_get_option('header'));
if ($head_type==1){
echo'
<div id="headerwrap">';
if (!$scope) echo '<div id="header" class="wrap">';
echo '<div class="clear"></div>
<a href="'.get_option('home').'/" title="'.htmlspecialchars(get_bloginfo('name')).'">
<img src="'.$logo.'" alt="'.htmlspecialchars(get_bloginfo('name')).'" title="'.htmlspecialchars(get_bloginfo('name')).'" />
</a>';
if (!$scope) echo '</div>';
echo '</div>';
}else{
echo'
<div id="headerwrap"><div class="clear"></div>
<div id="header" class="wrap">
<h1><a href="'.get_option('home').'">'.get_bloginfo('name').'</a></h1>
<span>'.get_bloginfo('description').'</span>
</div>
</div>';
}
}
function itx_header_styles(){
$halfwrap=$fullwrap='';
extract(itx_get_option('header'));
$height=empty($height)?'':" height:$height;";
$bg=(empty($bg))?$image:$bg;
$img="background:$bgcolor url($bg) $repeat $h_align $v_align;$height";
if ($scope==1) $fullwrap=$img;
else $halfwrap=$img;
if (itx_get_option('layout','wrapping')=='fixed') $maxw=itx_get_option('layout','wrap').'px';
else $maxw='98%';
echo "
#headerwrap{ $fullwrap text-align: $text_align;}
#header{ $halfwrap }
#header h1 {font-size: {$font_size};}
#header h1 a {color: $color;text-decoration: none;}
#header h1 a:hover {color: $hover_color;}
#header img{max-width:$maxw;}
#header span {font-size: {$span_font_size};color: $span_color;}";
}
?>
Most Users Ever Online: 205
Currently Online:
21 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
romiojuliat: 102
yaoming987: 50
jintuy: 50
miki1986: 33
newshow: 28
karen1234: 27
Member Stats:
Guest Posters: 0
Members: 6356
Moderators: 3
Admins: 4
Forum Stats:
Groups: 5
Forums: 23
Topics: 1546
Posts: 3450
Newest Members: carofern@cisco.com, pronto, jessie, pbaylies, ninaeast, freda
Moderators: davecashmore (2), aaron (5), tempadmin (0)
Administrators: WordPress Professional (442), hallsofmontezuma (202), onefinejay (10), stevemortiboy (4)




Log In
Home


