It is necessary to display all tags available in WP, using the wp_tag_cloud() function or its subfunctions, adding to each class tag from "c1" to "c10" (depending on the number of records in the tag), in order to later color this cloud through CSS .
I found such functionality only in the plugin "Simple Tags", but with an attendance of 5,000 people a day, it eats the CPU 100%. And to pull out the necessary code from it, I did not have enough knowledge.
Please tell me how this can be implemented.