Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: adh klausimai

Parašė adh· 2010 Spa. 2 19:10:41
#9

Nu kol kas tą problemą laikinai išsprendžiau (užcomment'inau kelias eilutes ir error'o nebemeta).

#2 Klausimas:

Noriu užmesti logo ant headerio kaip yra parodyta DEMO screenshot'e (THE WHATSUP!):



Štai header.php:


<!DOCTYPE <span style="border-bottom: 1px dotted black;">html</span> 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 profile="http://gmpg.org/xfn/11">
<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>
 
<?php lp_print_script('style,custom', 'css'); ?>
<!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/ie6.css" type="text/css" media="screen"/><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/ie7.css" type="text/css" media="screen"/><![endif]-->
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/print.css" type="text/css" media="print"/>
 
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"/>
 
<?php if (is_singular()) wp_enqueue_script( 'comment-reply' ); 
?>
 
<?php wp_head(); ?>
</head>
 
<body <?php body_class(); ?>>
<div id="page">
 
<div id="top" role="banner" class="<?php echo (lp_config('menus_headerVisible') ? 'menu-visible' : ''); ?>">
	<h1 id="logo">
		<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
		<span><?php bloginfo('description'); ?></span>
	</h1>
	<div id="menu1" class="cf">
	<?php
		if (lp_config('menus_headerVisible')) :
	?>
		<ul>
			<?php lp_list_pages(array('menu_id' => 'header', 'title_li' => '')); ?>
		</ul>
	<?php
		endif; // if (lp_config('menus_headerVisible'))
	?>
		<div class="other">
			<p class="feed"><a href="<?php echo get_feed_link(); ?>"><?php echo bloginfo('name'); ?> Feed</a></p>
		</div>
	</div>
	<?php $GLOBALS['searchformLabel'] = __('GO'); get_search_form(); ?>
	<div id="menu2">
		<ul>
			<?php lp_list_categories(array('menu_id' => 'header', 'orderby' => 'name', 'after_link' => ' &raquo;')); ?>
		</ul>
	</div>
</div><!--/#top-->
 
<div id="wrap" class="cf <?php echo lp_config('layout_order'); ?>">