wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



adjacent_posts_rel_link_wp_head › WordPress Function

Desde3.0.0
Obsoleton/a
adjacent_posts_rel_link_wp_head ( Sem parâmetros )
Ver:
Definido em:
Codex:
Log de mudanças:
  • 5.6.0

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.


Fonte

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