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


/ Published in: PHP
Save to your folder(s)

There we go


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.