/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<ul id="tag_grid"> <?php foreach ($tags as $tag) { echo('<li class="tagclass1">'); echo('<li class="tagclass2">'); echo('<li class="tagclass3">'); } else { echo('<li class="tagclass4">'); } echo('<a href="' . get_tag_link($tag->term_id) . '" rel="tag">' . $tag->name . "</a></li>\n"); } ?> </ul>
URL: http://www.positivespaceblog.com/archives/how-to-create-a-tag-grid-and-evolve-past-the-cloud/