wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
adjacent_posts_rel_link › WordPress Function
Depuis2.8.0
Dépréciéen/a
› adjacent_posts_rel_link ( $title = '%title', $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' )
Paramètres: (4) |
|
Défini(e) dans: |
|
Codex: |
Displays the relational links for the posts adjacent to the current post.
Fonctions en relation: get_adjacent_post_rel_link, adjacent_post_link, adjacent_posts_rel_link_wp_head, parent_post_rel_link, get_adjacent_post_link
Source
function adjacent_posts_rel_link( $title = '%title', $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' ) { echo get_adjacent_post_rel_link( $title, $in_same_term, $excluded_terms, true, $taxonomy ); echo get_adjacent_post_rel_link( $title, $in_same_term, $excluded_terms, false, $taxonomy ); }