Posted By

ignacio on 03/07/10


Tagged

wordpress tags


Versions (?)

Get all tags without HTML markup (no more tag clouds)


 / Published in: PHP
 

There we go

  1. <?php $tags = get_tags();
  2. if ($tags) {
  3. foreach ($tags as $tag) {
  4. echo '<p>Tag: <a href="' . get_tag_link( $tag->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $tag->name ) . '" ' . '>' . $tag->name.'</a> </p> ';
  5. }
  6. } ?>

Report this snippet  

You need to login to post a comment.