Personally I really dislike how wordpress shows all the “popular terms” in different sizes on the taxonomy add/edit screen in the admin area.
Does anyone know of a way to either remove this entire area completely by adding code to your functions.php file
and/or
how to just change this specific area so that none of the popular terms show up with different font sizes/styles?
Thank you
Oh, I love it when you give me an easy one. Starts to make up for all those harder ones… (well, partly. 😉
So what you want is to replace this:
(source: mikeschinkel.com)
With this:
(source: mikeschinkel.com)
How? Use the
'wp_tag_cloud'
hook which you can put into your theme’sfunctions.php
file or in a.php
file of a plugin you might be writing. For this one I tested the global variable$pagenow
to make sure it was on the term edit page. In the hook just strip out thestyle
attribute from each of the<a>
elements:Just to offer up an alternative using a CSS override which will actually have the same effect as Mike’s solution.
I don’t think either way is better, simply wanted to share a way to approach the problem differently.. 😉