This website uses cookies to allow us to see how the site is used. If you continue to use this site, we assume that you are okay with this. If you want to use the sites without cookies, please see our privacy policy.

Unified text size in the WordPress tag cloud

A simple function to unify the text size of the tag cloud, simply because a non client was getting frustrated with their existing web providers with a “it simply can’t be done.” Well to achieve a unified text size in the WordPress tag cloud here’s how.

add_filter('widget_tag_cloud_args','style_tags');
function style_tags($args) {
$args = array(
     'largest'    => '10',
     'smallest'   => '10',
     'format'     => 'list',
     );
return $args;
}

About

A geek who likes to code and be nice ^_^

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.