WordPress开发者和主题制作者的搜索引擎



adjacent_posts_rel_link_wp_head ›

Since3.0.0
已弃用n/a
adjacent_posts_rel_link_wp_head ( 没有参数 )
查看:
定义在:
文档:

Displays relational links for the posts adjacent to the current post for single post pages.

This is meant to be attached to actions like 'wp_head'. Do not call this directly in plugins or theme templates.



源码

function adjacent_posts_rel_link_wp_head() {
	if ( ! is_single() || is_attachment() ) {
		return;
	}
	adjacent_posts_rel_link();
}