任何问题请联系WX:uu16853

买模板送网站采集器 让你轻松放开双手运营网站!

购买更多有优惠!

我是如何 SEO WordPress 的 2:Description 和 Keywords

Description 和 Keywords 的重要性已经不像以前那么重要了,但是设置正确的 Description 和 Keywords 还是对你的排名有利。 WordPress 在撰写日志的时候,可以给日志添加摘要(excerpt)和标签(tag),我的做法就是,就如给日志添加了摘要就把摘要做为 Description,如果没有设置摘要的话,则截取文章的前 220 个字作为 Description,而标签直接作为 Keywords。代码如下: <?if (is_home()){     $description = "我爱水煮鱼是一个关注 WordPress 开源博客平台应用和互联网的 IT 博客。";     $keywords = "WordPress, 博客, 互联网, 主题, 插件"; } elseif (is_single()){     if ($post->post_excerpt) {         $description     = $post->post_excerpt;     } else {         $description […]

100% Secure Checkout

PayPal / MasterCard / Visa