Hello,
i am running the latest version Gantry framework + WP SEO + WP.
In my themes index.php i have the following :
<!DOCTYPE html 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" xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language; ?>" <?php echo ($gantry->get('facebook-enabled')) ? 'xmlns:fb="http://www.facebook.com/2008/fbml"':''; ?> <?php echo ($gantry->get('googleplus-enabled')) ? 'itemscope itemtype="http://schema.org/"':''; ?>>
<head>
<?php
$gantry->displayHead();
The $gantry->displayHead(); part is actually calling the wp_head function.
what happens is that when i activate WP SEO i loose what is befoe displayHead, ie :
<!DOCTYPE html 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" xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language; ?>" <?php echo ($gantry->get('facebook-enabled')) ? 'xmlns:fb="http://www.facebook.com/2008/fbml"':''; ?> <?php echo ($gantry->get('googleplus-enabled')) ? 'itemscope itemtype="http://schema.org/"':''; ?>>
<head>
is missing.
and look the following way :
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>MY TITLE</title>
<!-- This site is optimized with the Yoast WordPress SEO plugin v1.3.4.3 - http://yoast.com/wordpress/seo/ -->
<link rel="canonical" href="http://localhost/" />
<link rel="next" href="http://localhost/page/2" />
<meta name="robots" content="noodp,noydir"/>
<meta property='og:locale' content='fr_FR'/>
<meta property='og:title' content='MY TITLE'/>
<meta property='og:url' content='http://localhost/'/>
<meta property='og:site_name' content='MY SITE'/>
<meta property='og:type' content='website'/>
<!-- / Yoast WordPress SEO plugin. -->
not sure how to deal with it.
Thanks in advance for your help.