Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

On the page where one adds/removes/modifies taxonomies, what would I need to add to my functions.php file to remove the tag cloud?

share|improve this question

2 Answers 2

up vote 0 down vote accepted

I am not sure what filter you would add to your functions.php, but I believe you could get rid of the tag cloud with the Adminimize plugin.

http://wordpress.org/extend/plugins/adminimize/

share|improve this answer

You can do it like this, if you want to remove it for all taxonomy pages

add_filter( 'wp_tag_cloud', 'remove_tag_cloud', 10, 2 );

function remove_tag_cloud ( $return, $args )
{
        return false;
}
share|improve this answer
    
Thanks Low, just used your code and it worked brilliantly. I have not tested it, but if you wish to only do it on some taxonomy types, I guess you could use the global $pagenow to check which page you are on. –  Lars Koudal Jul 3 '12 at 15:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.