Displays the shortlink for a post. Must be called from inside "The Loop" Call like the_shortlink( __( 'Shortlinkage FTW' ) )
$text = '', $title = '', $before = '', $after = ''
Sortie :
@param string $text Optional. The link text or HTML to be displayed. Defaults to 'This is the short link.' @param string $title Unused. @param string $before Optional. HTML to display before the link. Default empty. @param string $after Optional. HTML to display after the link. Default empty.
// Utilisation de la fonction the_shortlink
$result = the_shortlink($text = '', $title = '', $before = '', $after = '');
if ($result) {
// Votre logique ici
}
Chargement des actualités...