wordpress提高seo,今天从网上整理,分享之

代码如下:

<meta name=”description” content=”<?php the_title(); ?>” />
<meta name=”keywords” content=”<?php global $wp_query;$wp_query->in_the_loop = true;$keywordsArray = get_the_tags(); if ($keywordsArray) {foreach ($keywordsArray as $keyword) echo $keyword->name.’,';}?>” />

本文地址:http://www.yaronspace.cn/blog/index.php/archives/490

来自yaronspace.cn  本文链接:http://yaronspace.cn/blog/archives/490