• Resolved WallaceTech

    (@wallacetech)


    Hi guys.

    I have my WP up and running and all seems good. However when on the main page along the top of the IE window i see the tagline and then | ,?bloginfo(‘name’);?>

    Any ideas? i am guessing i should be seeing my blog name

    Craig

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael

    (@alchymyth)

    look into header.php and see if the code within the <title> tag is corrupted, or if there is a php short tag <? instead of a full php tag <?php

    if you’re not sure, post the code within the <title> tag here.

    Thread Starter WallaceTech

    (@wallacetech)

    Thanks mate. here is the header info

    <head profile="http://gmpg.org/xfn/11">
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    	<meta name="robots" content="index,follow" />
    	<meta name="revisit-after" content="7 Days" />
    
    	<title>
    		<?php if ( is_home() ) { ?><?php bloginfo('description'); ?> | <? bloginfo('name'); ?><?php } ?>
    		<?php if ( is_search() ) { ?><?php echo $s; ?> | <? bloginfo('name'); ?><?php } ?>
    		<?php if ( is_single() ) { ?><?php wp_title(''); ?> | <? bloginfo('name'); ?><?php } ?>
    		<?php if ( is_page() ) { ?><?php wp_title(''); ?> | <? bloginfo('name'); ?><?php } ?>
    		<?php if ( is_category() ) { ?>Archive <?php single_cat_title(); ?> | <? bloginfo('name'); ?><?php } ?>
    		<?php if ( is_month() ) { ?>Archive <?php the_time('F'); ?> | <? bloginfo('name'); ?><?php } ?>
    		<?php if ( is_tag() ) { ?><?php single_tag_title();?> | <? bloginfo('name'); ?><?php } ?>
    	</title>
    
    	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    	<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    	<link rel="shortcut icon" type="image/x-png" href="<?php bloginfo('template_url'); ?>/images/favicon.png" />
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    	<?php wp_head(); ?>
    </head>
    Michael

    (@alchymyth)

    a few times in the above code (in the <title> tag), you will find

    <? bloginfo...

    which is using a php short tag – which is not recognized by all servers;

    replace these bits with

    <?php bloginfo...

    Thread Starter WallaceTech

    (@wallacetech)

    Thanks mate, i will give that a go.

    Will report back

    Thread Starter WallaceTech

    (@wallacetech)

    Thanks, i have made the change and this is now working.

    Thanks again for your help

    Craig

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘| ,?bloginfo(‘name’);?>’ is closed to new replies.