How to display tag cloud without links
We can modify the output with the filters wp_tag_cloud or wp_generate_tag_cloud. But we could also use: echo strip_tags( wp_tag_cloud( ‘echo=0&smallest=10&largest=10&number=0&format=list’ ), ‘<ul><li>’ ); where we strip all the HTML tags from the output, except the ul and li tags. Notice that we added the echo=0 parameter as mentioned in the Codex as a way to … Read more