2012-06-15 44 views
0

我在WordPress主題上使用Wordpress SEO Plugin,但是在安裝和設置後,它仍然不會生成元標記。任何想法可能是什麼問題。我的頭的代碼看起來如下圖所示Wordpress SEO Plugin isue

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 

<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>> 


<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title> 



<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 



<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen,projection" /> 



<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> 



<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/s3Slider.js"></script> 



<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/SpryAssets/SpryValidationTextField.js" ></script> 

<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/SpryAssets/SpryValidationTextarea.js"></script> 

<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/SpryAssets/SpryValidationConfirm.js"></script> 







<script type="text/javascript"> 



    $(document).ready(function() { 



     $('#slider').s3Slider({ 



      timeOut: 8000 



     }); 



    }); 



</script> 





<script type="text/javascript"> 



    $("#navbar li a").find("a[href='"+window.location.href+"']").each(function(){ 

$(this).addClass("current") 



</script> 







</head> 















<div id="rack"> 







    <div id="header"> 







    <div id="lonum"> 



    <div id="logo"><a href="http://www.southjerseydentures.com"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/Logo.png" height="176" alt="South Jersey Dentures" border="0"></a></div><!-- End Logo --> 



    <div id="number"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/number.png" alt="South Jersey Dentures Phone Number" border="0"></div><!-- End Number --> 









    </div><!-- End Lonum --> 







    <div id="navbar"> 



    <?php wp_nav_menu (array('menu'=>'custom_menu' 



    ,'menu_class' => 'nav'));?> 











    </div><!-- End NavBar --> 







    </div><!-- End Header --> 

回答

2

<?php wp_head(); ?><head>...</head>