Respostas no Fórum

Visualizando 2 respostas - 1 até 2 (de um total de 2)
  • araujomsilva

    (@araujomsilva)

    Tenta Assim!

    Mas acho que a largura da sua imagem nao esta se encaixando direito no layout do template.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <meta name="author" content="misbah" />
    <title><?php
    if (is_home()) {
    	bloginfo('name');
    } elseif (is_404()) {
    	echo '404 Not Found'; echo ' | '; bloginfo('name');
    } elseif (is_category()) {
    	echo 'Category:'; wp_title(''); echo ' | '; bloginfo('name');
    } elseif (is_search()) {
    	echo 'Search Results'; echo ' | '; bloginfo('name');
    } elseif ( is_day() || is_month() || is_year() ) {
    	echo 'Archives:'; wp_title(''); echo ' | '; bloginfo('name');
    } else {
    	echo wp_title(''); echo ' | '; bloginfo('name');
    }
    global $codename,$$codename; ?>
    </title>
    <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'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/reset.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/default.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/lavalamp.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/slide.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/comments.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/widgets.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/jquery.tabs.css" type="text/css" media="screen" />
    
    <?php wp_enqueue_script('jquery'); ?>
    
    <!--[if IE 6]>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/style-ie.css" />
    <![endif]-->
    <?php wp_head(); ?>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.easing.min.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.lavalamp.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/slide.noconflict.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.tabs.pack.js"></script>
    <script type="text/javascript">
    jQuery(document).ready(function($){
    	$('#top-s').val('Type text to search').focus(function(){ $(this).val(''); }).blur(function(){ if($(this).val() == '') $(this).val('Type text to search'); });
    	$('#searchform').parent().addClass('search-fix');
    
    	$('.current-cat').addClass('current');
    	$('.lavaLampWithImage').lavaLamp({
    		fx: "backout",
    		speed: 900,
    		click: function(event, menuItem) {
    			return true;
    		}
    	});
    
    	$('#tab-content').tabs({ fxSlide: true });
    	$('.tabs-container ul li').hover(
    		function(){$(this).addClass('hover')},
    		function(){$(this).removeClass('hover')}
    	);
    
    	//toggle on sidebar
    	$('.toggle').each(function() {
    		$(this).addClass('pointer');
    		var widgetHeader = $(this).parent();
    		$(this).toggle(
    			function() {
    				$(this).addClass('toggle-down');
    				widgetHeader.addClass('compact');
    			},
    			function() {
    				$(this).removeClass('toggle-down');
    				widgetHeader.removeClass('compact');
    			}
    		);
    	});
    
    });
    </script>
    </head>
    <body><div id="wrap">
    <div id="header" class="clearfix">
    
    <----Adicionar depois da DIV header -------Modificação---------------->
    
    <img src="<?php bloginfo('url'); ?>/paula/logomarca.png" alt="Logo" />
    
    <--------------------------->
    
    	<div id="navigation" class="menu clearfix">
    
    		<ul>
    			<li class="page_item <?php if(is_home()): ?>current_page_item<?php endif ?>"><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    			<?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>
    		</ul>
    	</div><!-- /navigation -->
    
    	<h1 id="site-title"><a href="<?php echo get_option('home') ?>/" title="<?php bloginfo('name') ?>" rel="home"><?php bloginfo('name') ?></a></h1>
    	<?php if (is_home()): ?>
    	<h2 id="site-description"><?php bloginfo('description') ?></h2>
    	<?php else: ?>
    	<div id="site-description"><?php bloginfo('description') ?></div>
    	<?php endif ?>
    
    	<div id="cat-menu" class="clearfix">
    		<ul class="lavaLampWithImage">
    			<?php wp_list_categories('sort_column=name&title_li=&depth=1'); ?>
    		</ul>
    	</div><!-- /cat-menu -->
    
    </div><!-- /header -->
    
    <div id="container" class="clearfix">
    araujomsilva

    (@araujomsilva)

    Sua imagem deve ser inserida da seguinte forma:
    http://www.dannybb.com.br
    <img src="<?php bloginfo('url'); ?>/paula/logomarca.png" alt="Logo" />

    Pode haver variação dentro do bloginfo(), dependendo de onde sua imagem esta.

    Ex:
    Se a imagem estiver na pasta raiz

    bloginfo('url')/img/logomarca.png

    url = http://example/home

    Se a imagem estiver na pasta do template

    bloginfo('template_directory')/img/logomarca.png

    template_directory = http://example/home/wp/wp-content/themes/seuTema

Visualizando 2 respostas - 1 até 2 (de um total de 2)