Support » Plugins and Hacks » Polylang » SEO plugin that works fine with Polylang

Viewing 2 replies - 1 through 2 (of 2 total)
  • I hope any! all metada (titles, keywords, etc) should store in post. Other lang versions of post is separate post, so it have own metadata.

    If you want separate info for whole site, not for each post – add to your header.php condition:

    <?php
    	$curlang = substr(get_bloginfo('language'), 0, 2);
    	if($curlang == "en") {
    			// meta keywords & description for english
    		}
    	elseif($curlang == "de") {
    			// meta keywords & description for deutsch
    		}
    ?>

    Thanks for the tip!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SEO plugin that works fine with Polylang’ is closed to new replies.