Can’t add a logo – Comet Theme
-
I’m using the theme comet (can be found at: https://www.ads-software.com/extend/themes/comet) and there’s an option to enter the logo URL but when I do that I get an error message.
I wonder if there’s a way o inserting this logo manually. The logo option in the functions.php is:
}
if($fp_option == “logo”){
if(strlen($fp_logo) > 0) { // logo assigned in options
list($width, $height, $type, $attr) = getimagesize($fp_logo); // get image attributes
if($type == 1 || $type == 2 || $type == 3) { // image ok
echo “<img src='”.$fp_logo.”‘ alt='”.get_bloginfo(‘name’).”‘ border=’0′ “.$attr.” id=’logo’ />“;
} else { // image not gif, jpg or png
echo “<h1>“.get_bloginfo(‘name’).”</h1>”;
if(strlen(get_bloginfo(‘description’)) > 0) {
echo “<div class=’descOut’><div class=’descIn’><h4>”.get_bloginfo(‘description’).”</h4></div></div>”;
}
- The topic ‘Can’t add a logo – Comet Theme’ is closed to new replies.