Is this feature built into wordpress? i didnt see anything within the codex.

codex.wordpress.org/Function\_Reference/wp\_tag\_cloud

I have a few pages that are category specific and i would like to show all the tags associated with those posts.

I did find this, but im not sure if its proper or if a better way exists ([source](http://www.wprecipes.com/get-tags-specific-to-a-particular-category-on-your-wordpress-blog))(**old method!!!!**):

```
<?php
    query_posts('category_name=html');
    if (have_posts()) : while (have_posts()) : the_post();
        $posttags = get_the_tags();
        if ($posttags) {
            foreach($posttags as $tag) {
                $all_tags_arr[] = $tag -> name;
            }
        }
    endwhile; endif; 

    $tags_arr = array_unique($all_tags_arr);
?>
    <ul>
<?php
    foreach($tags_arr as $tag){
        echo '<li>'.$tag.'</li>';
    }
?>
</ul>
<?php wp_reset_query(); ?>

```

**UPDATE( simplified ):::**

to make a list of tags from a specific category this code is much better(just change the category name):

::Recently updated again because of a loop error::

```
    <ul>
                <?php
                    query_posts('category_name=html');
                    if (have_posts()) : while (have_posts()) : the_post();

                        if( get_the_tag_list() ){
                            echo $posttags = get_the_tag_list('<li>','</li><li>','</li>');
                        }

                    endwhile; endif; 

                    wp_reset_query(); 
                ?>
</ul>

```

Even tough i may have a solution, please update this if a new one comes around.