Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Show all the tags

$tags = get_tags();
$html = '<div class="post_tags">';
foreach ( $tags as $tag ) {
    $tag_link = get_tag_link( $tag->term_id );
             
    $html .= "<a href='{$tag_link}' title='{$tag->name} Tag' class='{$tag->slug}'>";
    $html .= "{$tag->name}</a>";
}
$html .= '</div>';
echo $html;
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #Show #tags
ADD COMMENT
Topic
Name
6+8 =