Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




the_tags [ WordPress Function ]

the_tags ( $before = null, $sep = ', ', $after = '' )
Parameters:
  • (string) $before Optional. Before list.
  • (string) $sep Optional. Separate items using this.
  • (string) $after Optional. After list.
Returns:
  • (string)
Defined at:



Retrieve the tags for a post.

Source


<?php
function the_tags$before null$sep ', '$after '' ) {
    if ( 
null === $before )
        
$before __('Tags: ');
    echo 
get_the_tag_list($before$sep$after);
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics