Cómo agregar un logo en mi blog personal

  • Autor Autor Jaime Arevalo
  • Fecha de inicio Fecha de inicio
J

Jaime Arevalo

Iota
SEO
Hola pasa que teno mi blog personal y me gustaria ponerle un logo y no se como hacerlo?

Este es mi sitio Enlace eliminado

y este es mi header.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<script type="text/javascript" src="<?php echo get_bloginfo('template_directory'); ?>/inc/mootools.js"></script>
<script type="text/javascript" src="<?php echo get_bloginfo('template_directory'); ?>/inc/prettypress.js"></script>

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<script type="text/javascript" charset="utf-8">

var idx = 0;
var tags = [];
<?php
$idx = 0;
$maxTags = 25;
global $wpdb;
$sql = "SELECT $wpdb->terms.term_id, name, taxonomy, $wpdb->term_taxonomy.count FROM $wpdb->terms
INNER JOIN $wpdb->term_taxonomy ON $wpdb->terms.term_id = $wpdb->term_taxonomy.term_id
WHERE $wpdb->term_taxonomy.taxonomy = 'post_tag' AND $wpdb->term_taxonomy.count > 0 ORDER BY count DESC LIMIT 0,$maxTags";

$tags = $wpdb->get_results($sql);

foreach ($tags as $tag) {
?>
tags[<?php echo $idx; ?>] = '<?php echo attribute_escape($tag->name); ?>';
<?php $idx++; } ?>

</script>

<?php wp_head(); ?>

<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

</head>
<body>

<div id="container">


<div id="topProfileBar">
<div id="blogMeta">
<?php
$numposts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish'");
if (0 < $numposts) $numposts = number_format($numposts);
echo $numposts." articles and counting";
?>
</div>
<div id="logo">

<?php
$logoJpg = get_template_directory().'/images/logo.jpg';
$logoGif = get_template_directory().'/images/logo.gif';
if (file_exists($logoJpg)) {
?>
<a href="<?php echo get_option('home'); ?>/" rel="nofollow">
<img src="<?php bloginfo('template_url'); ?>/images/logo.jpg" alt="<?php echo get_option('blogname'); ?> logo" />
</a>
<?php
} else if (file_exists($logoGif)) {
?>
<a href="<?php echo get_option('home'); ?>/" rel="nofollow">
<img src="<?php bloginfo('template_url'); ?>/images/logo.gif" alt="<?php echo get_option('blogname'); ?> logo" />
</a>
<?php
} else {
?>
<div id="blogName">
<a href="<?php echo get_option('home'); ?>/" rel="nofollow">
<?php echo get_option('blogname'); ?>
</a>
</div>
<div id="blogDescription"><?php bloginfo('description'); ?></div>
<?php
}
?>

</div>
</div>
<div id="topNavigationBar">
<div id="searchBox">
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
<input type="text" name="s" id="searchField" value="<?php the_search_query(); ?>" />
<input name="searchButton" id="searchButton" type="image" src="<?php bloginfo('template_url'); ?>/images/searchButton.jpg" width="82" height="22" alt="search" />
</form>
</div>
<div id="latestUpdate">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="<?php bloginfo('rss2_url'); ?>" rel="nofollow"><img src="<?php bloginfo('template_url'); ?>/images/rss2.gif" width="44" height="16" border="0" /></a>
<a href="http://www.google.com/ig/add?feedurl=<?php bloginfo('rss2_url'); ?>" rel="nofollow"><img src="<?php bloginfo('template_url'); ?>/images/rss-google.png" width="71" height="16" border="0" /></a>
<a href="http://add.my.yahoo.com/rss?url=<?php bloginfo('rss2_url'); ?>" rel="nofollow"><img src="<?php bloginfo('template_url'); ?>/images/rss-yahoo.png" width="80" height="16" border="0" /></a>
</div>
</div>

<div id="contentContainer" class="clearfix">

<?php get_sidebar(); ?>

Que deberia editar para poder poner una imagen png como logo? o hay que hacer algo mas?
 
Efectivamente como te ha comentado Fakedark deberás sustituir el archivo logo.gif por el nuevo.

Saludos
 
Atrás
Arriba