有关于WordPress SEO by Yoast插件中,标题模板、元描述模板、关键词模板的变量设置,填入变量将自动显示变量内容,不需要在发布文章的时候再去填写下面的SEO设置了。
文本如下:
%%date%% |
文章/页面的日期 |
%%title%% |
文章/页面的标题 |
%%parent_title%% |
Replaced with the title of the parent page of the current page |
%%sitename%% |
站点名称 |
%%sitedesc%% |
The site's tag line / description |
%%excerpt%% |
文章/页面摘要(如不存在则自动生成) |
%%excerpt_only%% |
文章/页面摘要(不自动生成) |
%%tag%% |
当前标签 |
%%category%% |
文章分类目录(半角逗号分隔) |
%%category_description%% |
分类目录描述 |
%%tag_description%% |
标签描述 |
%%term_description%% |
项目描述 |
%%term_title%% |
项目名称 |
%%searchphrase%% |
当前搜索词 |
%%sep%% |
当前主题wp_title()里的分隔符 |
或者在插件页面的右上角的“帮助”按钮查看,官方说明请点击这里查看。