Hi ..
Pls visit the site flickszilla.com
Im new to wordpres,I have used zinfo theme for my site and its not displaying my site name in the header.... can any one tell me whats the problem..?
Thanks
Hi ..
Pls visit the site flickszilla.com
Im new to wordpres,I have used zinfo theme for my site and its not displaying my site name in the header.... can any one tell me whats the problem..?
Thanks
I have you set up the title under "General Settings" on the admin panel. If Yes, then you need to edit your header.php.
Safiweb Interactive | Graphics and Web Design
yes I have set the title under general settings..what I need to change in header php
thanks
is it possible you paste header.php code in your next reply? i take a look and show you what need to be changed.
Safiweb Interactive | Graphics and Web Design
<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>
<!--
ZidFo Theme
Designed by hpa (http wpjunction com)
Coded by misbah (ini_misbah yahoo com)
-->
<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/slide css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/comments css" type="text/css" media="screen" />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.2.6-packed js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.ifixpng js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/slide.noconflict js"></script>
<style type="text/css">
<?php if ($$codename->option['imageLogo']) : ?>
#blog-title {
background:transparent url('<?php echo $$codename->option['imageLogo']; ?>') no-repeat 0 0;
display:block;
text-indent:-9999px;
height:50px;
margin-bottom:8px;
overflow:hidden;
}
#blog-title a {
display:block;
height:50px;
}
<?php endif ?>
</style>
<script type="text/javascript">
// call like this: $(element) textDropShadow();
(function($) {
$.fn.textDropShadow = function(){
$(this) html('<span class="jq-shadow">'+$(this) html()+'</span><span>'+$(this) html()+'</span>');
return $(this);
}
})(jQuery);
jQuery.noConflict();
jQuery(document).ready(function() {
jQuery ifixpng('<?php bloginfo('template_directory'); ?>/images/pixel gif');
jQuery('#header-top,#date-now,#top-container,#footer-link').ifixpng();
<?php if ($$codename->option['imageLogo']) : ?>
jQuery('#blog-title') ifixpng();
<?php endif ?>
jQuery(' block-title') textDropShadow();
});
</script>
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/style-ie css" />
<![endif]-->
<?php wp_head(); ?>
</head>
<body>
<div id="header">
<div class="wrapper">
<div id="header-top" class="clearfix">
<div id="branding">
<span id="blog-title"><a href="<?php echo get_option('home') ?>/" title="<?php bloginfo('name') ?>" rel="home"><?php bloginfo('name') ?></a></span>
<?php if (is_home()) : $home = ' current_page_item'; ?>
<h1 id="blog-description"><span><?php bloginfo('description') ?></span></h1>
<?php else: $home=''; ?>
<div id="blog-description"><span><?php bloginfo('description') ?></span></div>
<?php endif ?>
</div><!-- /branding -->
<div id="date-now"><?php echo date('jS F Y') ?></div>
</div>
<div id="page-menu" class="menu">
<ul id="page-shadow">
<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&titl e_li=');?>
</ul>
<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&titl e_li=');?>
</ul>
</div>
</div>
</div><!-- /header -->
<div id="container">
<div class="wrapper">
Thank you
The code looks okay if(is_home()){ bloginfo('name');} => Thats why it displays Flickszilla.com on the homepage.
If you want to display e.g Flickszilla.com - Movie Website then change the above line of code to :
<?php if(is_home()){ bloginfo('name'); ?> - <?php bloginfo('description'); }
Safiweb Interactive | Graphics and Web Design
Thank you...![]()