在每篇文章页面的头部区域,关于页面描述的meta标签description是必不可少的,description比keywords重要多了。我们可以使用wordpress的get_the_excerpt()方法来生成,即在结束前添加如下代码: <meta name="description" content="<?php get_the_excerpt()?...
标签:【主题函数】
在每篇文章页面的头部区域,关于页面描述的meta标签description是必不可少的,description比keywords重要多了。我们可以使用wordpress的get_the_excerpt()方法来生成,即在结束前添加如下代码: <meta name="description" content="<?php get_the_excerpt()?...