Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 112656

fantasmo on "Tag Cloud with specifying font-size and category"

$
0
0

Hello,

I have a tag cloud where I entered values for font-sizes, now I wanted also to show tags only from specific categories. I tried a code snipped with one category with ID 7...but it still shows tags of all categories

<?php wp_tag_cloud('smallest=9&largest=16'&array( 'taxonomy' => '7' ) ); ?>

I think I wrote it in wrong way, but what is the correct way?

...I also tried this, but it didn't work either:

<?php wp_tag_cloud('smallest=9&largest=16')&array( 'taxonomy' => '7' ); ?>

Viewing all articles
Browse latest Browse all 112656

Trending Articles