Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

show all tags

<?php
         $tags = get_tags();
         $html = '<div class="tagcloud">';
         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+4 =